diff --git a/nixos/common/modules/wireless.nix b/nixos/common/modules/wireless.nix deleted file mode 100644 index bbbeb7be..00000000 --- a/nixos/common/modules/wireless.nix +++ /dev/null @@ -1,21 +0,0 @@ -{pkgs, config, ...}: { - # Enable wireless - - # Set up the secrets file for the token: - sops.secrets.copeland-5g-psk = { - sopsFile = ../../../secrets/secrets.yaml; - }; - - networking = { - wireless = { - environmentFile = [ /run/secrets/wireless/copeland-5g-psk ]; - enable = true; - networks = { - "copeland-5g" = { - hidden = false; - psk = "$copeland-5g"; - }; - }; - }; - }; -} \ No newline at end of file diff --git a/nixos/hosts/nixos-rpi4-01/default.nix b/nixos/hosts/nixos-rpi4-01/default.nix index 0151e1fe..4a420184 100644 --- a/nixos/hosts/nixos-rpi4-01/default.nix +++ b/nixos/hosts/nixos-rpi4-01/default.nix @@ -4,7 +4,6 @@ { config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") - ../../common/modules/wireless.nix ];