From 3d9cce2404744467456e348bf75cf5b1eb585110 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 15 Sep 2023 23:20:04 +0900 Subject: [PATCH] Remove wireless --- nixos/common/modules/wireless.nix | 21 --------------------- nixos/hosts/nixos-rpi4-01/default.nix | 1 - 2 files changed, 22 deletions(-) delete mode 100644 nixos/common/modules/wireless.nix 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 ];