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

@ -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}"
];