diff --git a/nixos/common/modules/ssh-luks-wifi.nix b/nixos/common/modules/ssh-luks-wifi.nix index 9417d992..5c5a45c2 100644 --- a/nixos/common/modules/ssh-luks-wifi.nix +++ b/nixos/common/modules/ssh-luks-wifi.nix @@ -1,5 +1,5 @@ -{ pkgs, ... }: let interface = "wlp170s0"; in { - boot.initrd = { +{ pkgs, ... }: { + boot.initrd = let interface = "wlp170s0"; in { systemd = { enable = true; @@ -14,6 +14,7 @@ network.networks."FBI Van#2.4" = { matchConfig.Name = interface; networkConfig.DHCP = "yes"; + }; }; }; }