add homenetwork to networking.yaml

This commit is contained in:
2025-06-10 11:50:28 -05:00
parent 2d0c31d0f9
commit 17a26f8084
3 changed files with 42 additions and 4 deletions
+12 -3
View File
@@ -46,6 +46,10 @@
sopsFile = ./secrets/roy.json;
key = "testKey";
};
"homeNetwork" = {
sopsFile = ./secrets/networking.yaml;
key = "homeNetwork";
};
};
};
@@ -57,9 +61,14 @@
networking.wireless = {
enable = true;
networks."flooper".pskRaw = "***REMOVED***";
networks."NU-Guest" = {
priority = -1;
environmentFile = config.sops.secrets."homeNetwork".path;
networks = {
"@homeSSID@" = {
psk = "@homePsk@";
};
"NU-Guest" = {
priority = -1;
};
};
};