aboutsummaryrefslogtreecommitdiff
path: root/hosts/c-pc
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-01-18 13:54:02 -0800
committerCaroline Larimore <caroline@larimo.re>2025-01-18 13:54:02 -0800
commit2befe0c818ad4df1529e55b34ef1bd2a51449db9 (patch)
tree30d1a9125a14fca0d9fd69b6b3416a5dda0d44b4 /hosts/c-pc
parentdacb3fa67081e4c0eade9cd4d99d729a9b3ea568 (diff)
flake: update
Diffstat (limited to 'hosts/c-pc')
-rw-r--r--hosts/c-pc/configuration.nix3
-rw-r--r--hosts/c-pc/network.nix12
2 files changed, 8 insertions, 7 deletions
diff --git a/hosts/c-pc/configuration.nix b/hosts/c-pc/configuration.nix
index 364ebf5..6101fe8 100644
--- a/hosts/c-pc/configuration.nix
+++ b/hosts/c-pc/configuration.nix
@@ -49,8 +49,7 @@
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
- "steam-original"
- "steam-run"
+ "steam-unwrapped"
];
roles = {
diff --git a/hosts/c-pc/network.nix b/hosts/c-pc/network.nix
index c2b5365..969b49f 100644
--- a/hosts/c-pc/network.nix
+++ b/hosts/c-pc/network.nix
@@ -9,11 +9,9 @@
wireless = {
enable = true;
-
- environmentFile = "/secrets/wireless.env";
- networks = {
- "@SSID@".psk = "@PSK@";
- };
+
+ # Import /etc/wpa_supplicant.conf networks
+ allowAuxiliaryImperativeNetworks = true;
};
firewall = {
@@ -23,4 +21,8 @@
allowedUDPPorts = [ ];
};
};
+
+ environment.etc."wpa_supplicant.conf" = {
+ source = "/secrets/wireless.conf";
+ };
}