web-01: Reformat

This commit is contained in:
Tom Hubrecht 2023-05-22 15:09:04 +02:00
parent 7356ef8b1d
commit d9f7a944af
2 changed files with 7 additions and 5 deletions

View file

@ -1,6 +1,7 @@
{...}: _:
let
luksName = "mainfs"; let
luksName = "mainfs";
in in
{ {
boot.initrd.luks.devices.${luksName} = { boot.initrd.luks.devices.${luksName} = {
@ -33,7 +34,7 @@ in
start = "512MiB"; start = "512MiB";
end = "-4GiB"; end = "-4GiB";
content = rec { content = rec {
type = "luks"; type = "luks";
name = luksName; name = luksName;
extraOpenArgs = [ "--keyfile-size=1" ]; extraOpenArgs = [ "--keyfile-size=1" ];
extraFormatArgs = extraOpenArgs; extraFormatArgs = extraOpenArgs;

View file

@ -1,4 +1,5 @@
{ ... }: _:
{ {
services.openssh = { services.openssh = {
passwordAuthentication = false; passwordAuthentication = false;