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
|
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;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ ... }:
|
_:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
passwordAuthentication = false;
|
passwordAuthentication = false;
|
||||||
|
|
Loading…
Reference in a new issue