From 2befe0c818ad4df1529e55b34ef1bd2a51449db9 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Sat, 18 Jan 2025 13:54:02 -0800 Subject: flake: update --- hosts/c-pc/configuration.nix | 3 +-- hosts/c-pc/network.nix | 12 +++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'hosts/c-pc') 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"; + }; } -- cgit v1.2.3