Rename module wlan to wifi

This commit is contained in:
SebastianStork 2025-05-29 22:12:49 +02:00
parent 091f6a0e91
commit 9fb0508028
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@
dm.tuigreet.enable = true; dm.tuigreet.enable = true;
de.hyprland.enable = true; de.hyprland.enable = true;
wlan.enable = true; wifi.enable = true;
bluetooth.enable = true; bluetooth.enable = true;
sound.enable = true; sound.enable = true;
virtualisation.enable = true; virtualisation.enable = true;

View file

@ -14,9 +14,9 @@ let
]; ];
in 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.mkMerge (
lib.flatten [ lib.flatten [
{ {
@ -34,7 +34,7 @@ in
(lib.forEach networks (name: { (lib.forEach networks (name: {
sops.secrets."iwd/${name}" = { }; sops.secrets."iwd/${name}" = { };
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"C /var/lib/iwd/${name} - - - - ${config.sops.secrets."iwd/${name}".path}" "C /var/lib/iwd/${name} - - - - ${config.sops.secrets."iwd/${name}".path}"
]; ];