diff --git a/machines/web-01/disko.nix b/machines/web-01/disko.nix index b9a5f8e..52c9262 100644 --- a/machines/web-01/disko.nix +++ b/machines/web-01/disko.nix @@ -1,6 +1,7 @@ -{...}: -let - luksName = "mainfs"; +_: + +let + luksName = "mainfs"; in { boot.initrd.luks.devices.${luksName} = { @@ -33,7 +34,7 @@ in start = "512MiB"; end = "-4GiB"; content = rec { - type = "luks"; + type = "luks"; name = luksName; extraOpenArgs = [ "--keyfile-size=1" ]; extraFormatArgs = extraOpenArgs; diff --git a/machines/web-01/ssh.nix b/machines/web-01/ssh.nix index 0f3a438..bb2c346 100644 --- a/machines/web-01/ssh.nix +++ b/machines/web-01/ssh.nix @@ -1,4 +1,5 @@ -{ ... }: +_: + { services.openssh = { passwordAuthentication = false;