From 4088a62ed2772ce2c0f4b49a6cfea85ad787bbfb Mon Sep 17 00:00:00 2001 From: KP64 Date: Mon, 23 Dec 2024 16:55:10 +0100 Subject: [PATCH] tp: add jw wifi --- hosts/tp/configuration.nix | 13 +++++++++++++ hosts/tp/secrets.yaml | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/hosts/tp/configuration.nix b/hosts/tp/configuration.nix index ec7f3f4..15ca37e 100644 --- a/hosts/tp/configuration.nix +++ b/hosts/tp/configuration.nix @@ -163,6 +163,19 @@ psk = "$HOME_WIFI_PASSWORD"; }; }; + + jw-wifi = { + connection = { + id = "jw-wifi"; + type = "wifi"; + }; + wifi.ssid = "$JW_WIFI_SSID"; + wifi-security = { + auth-alg = "open"; + key-mgmt = "wpa-psk"; + psk = "$JW_WIFI_PASSWORD"; + }; + }; }; }; }; diff --git a/hosts/tp/secrets.yaml b/hosts/tp/secrets.yaml index bd69e38..4fc2e91 100644 --- a/hosts/tp/secrets.yaml +++ b/hosts/tp/secrets.yaml @@ -1,5 +1,5 @@ hashed_password: ENC[AES256_GCM,data:PHeR5ztaq7N4aPt6yyMe6hZPL02Ndi/nbOevuqqaKLvkAPm2JKA8wW5lnlUa7fnaTDNPjF2+BjJ512pBsO17JYVauEDbZ/9DhQ==,iv:oCypkE6jhoiT7Q/eAhf77S9AcCpUXIAsWFzwbN9x6Zo=,tag:hm2n2NlvOhBo6/4Xz1uA0Q==,type:str] -wireless.env: ENC[AES256_GCM,data:Y8I3GalDMxt7LUoM4nVOjaRVP8QFgZlhqgHT+SWbJxqkp2ETSLiFHXtOuR9irnnm9DBcp3TTuYn4hi1ELJoH8jJR5Wjrnvm7jTvN2MI=,iv:M8r34LzKES6Go6E0buV1KHD9Qh9tyWwDg7MRMv/aFks=,tag:VOvFihlYX96KX+7/XDlXZQ==,type:str] +wireless.env: ENC[AES256_GCM,data:EnPLOuZXBDEcrzm2w1UxwC6NDWCPePgyAOcqBVfQO9psAF3NQlR3xVbkJ7kzq6Z/A4V4tOnDlUMit/HyORlFulkLvAnJrJbHbvvc/C6WvhaPAs/53xXa3LTsjLcdVOvQF2WJpvd28+Q6Wa0R0v+AzifO+L29Wjgvycuwf4yRNDZb2pdXhd7Ex3pxxGmnsUY=,iv:qstxvxFJqerYhr62A4wsJBDvWMaI4PH6rh2E9n6YHxs=,tag:rXVOh7urrrBIehA+GMOuZQ==,type:str] sops: kms: [] gcp_kms: [] @@ -42,8 +42,8 @@ sops: V0NDR0M0WFpleW1NOWhPbjh3djdYWTgK8BIn/LM5MeXfSO3XTUSXilWsa+GVYzXT Tzk51k6CEK1gMx5hts9VSSFPCGKgX4uzUmsE6W65xHSDd4xplgnYZA== -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-12-19T21:05:23Z" - mac: ENC[AES256_GCM,data:m68GGhFncWoT6j/GIGUm3uRXkL7UtVIQ8YKMaoZW5jaeHMNScdpVdMxJXLr/IeaoEcojthGCTtdwlUlyRO68BQseFh24sgEwlSug2DiKBlQIUvrgqG1uRY451YONE1yp9A2jWrGTtcLMIl9jxNOYI/BqR3ezobVbi/PIMFU0lpU=,iv:fXWtwnP8m9Ys0rsaa8IfSuQ5JaQiFeJ0nUPgUP9hBgc=,tag:ur8dOpU9uXvd/Qy559gWCA==,type:str] + lastmodified: "2024-12-23T15:52:28Z" + mac: ENC[AES256_GCM,data:/o0U/Wy6ndTkyrvyNI55kZbEly4u429jijHImkdplXNWsmktQj2RhlTzEWLWFcVhlyAq/Bv3W3j6ctf0qV4wE+lCnk33lA0Gyf5+6Sqrr3Cjrl8BmeWHSN3QMYNIVtMhiOBnDwlWLfNdF9z5h7v1DsFrfwARmt8jMa3gYsuGTjE=,iv:3quJrPfidZjjOfpZHjCxEUstdixtsizoGIvQDY+vn0o=,tag:C9p5C5cISsFLBB+u/m199w==,type:str] pgp: [] unencrypted_suffix: _unencrypted version: 3.9.2