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
{
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;

View file

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