diff --git a/hosts/fern/default.nix b/hosts/fern/default.nix index 3e25469..902db54 100644 --- a/hosts/fern/default.nix +++ b/hosts/fern/default.nix @@ -24,7 +24,7 @@ dm.tuigreet.enable = true; de.hyprland.enable = true; - wlan.enable = true; + wifi.enable = true; bluetooth.enable = true; sound.enable = true; virtualisation.enable = true; diff --git a/modules/system/wlan.nix b/modules/system/wlan.nix index 1f7c854..8d1b2f8 100644 --- a/modules/system/wlan.nix +++ b/modules/system/wlan.nix @@ -14,9 +14,9 @@ let ]; in { - options.custom.wlan.enable = lib.mkEnableOption ""; + options.custom.wifi.enable = lib.mkEnableOption ""; - config = lib.mkIf config.custom.wlan.enable ( + config = lib.mkIf config.custom.wifi.enable ( lib.mkMerge ( lib.flatten [ { @@ -34,7 +34,7 @@ in (lib.forEach networks (name: { sops.secrets."iwd/${name}" = { }; - + systemd.tmpfiles.rules = [ "C /var/lib/iwd/${name} - - - - ${config.sops.secrets."iwd/${name}".path}" ];