diff --git a/systems/aarch64-linux/Pihole/default.nix b/systems/aarch64-linux/Pihole/default.nix index f1ecf34..60e094c 100644 --- a/systems/aarch64-linux/Pihole/default.nix +++ b/systems/aarch64-linux/Pihole/default.nix @@ -18,9 +18,12 @@ in # Connect to the network automagically networkmanager.enable = lib.mkForce false; - wireless.networks = { - "${config.${namespace}.secrets.networking.networks.home.SSID}" = { - psk = "${config.${namespace}.secrets.networking.networks.home.password}"; + wireless = { + enable = true; + networks = { + "${config.${namespace}.secrets.networking.networks.home.SSID}" = { + psk = "${config.${namespace}.secrets.networking.networks.home.password}"; + }; }; }; }; diff --git a/systems/aarch64-linux/Pihole/hardware-configuration.nix b/systems/aarch64-linux/Pihole/hardware-configuration.nix index 25c5000..3ed2235 100644 --- a/systems/aarch64-linux/Pihole/hardware-configuration.nix +++ b/systems/aarch64-linux/Pihole/hardware-configuration.nix @@ -31,10 +31,8 @@ } ]; - hardware.enableRedistributableFirmware = true; - networking.wireless.enable = true; - hardware = { + enableRedistributableFirmware = true; raspberry-pi."4" = { apply-overlays-dtmerge.enable = true; };