web-01: Reformat
This commit is contained in:
parent
7356ef8b1d
commit
d9f7a944af
2 changed files with 7 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{ ... }:
|
||||
_:
|
||||
|
||||
{
|
||||
services.openssh = {
|
||||
passwordAuthentication = false;
|
||||
|
|
Loading…
Reference in a new issue