system: set rescue password in systemd initrd
This commit is contained in:
parent
f5fd9b7187
commit
1e6fe4a8ef
@ -129,6 +129,10 @@ in
|
||||
enableSSHSupport = lib.mkDefault false;
|
||||
};
|
||||
|
||||
# initrd rescue password (can store plain hash since it is extremely
|
||||
# unlikely to be brute forced)
|
||||
boot.initrd.systemd.emergencyAccess = "$2b$15$jljA4yma8GrD2LmvhrlUkuXWBry/0jhMnXs1qB1y/byBGXKq74wMK";
|
||||
|
||||
boot.loader.systemd-boot.configurationLimit = lib.mkDefault 15;
|
||||
|
||||
# see:
|
||||
|
Loading…
x
Reference in New Issue
Block a user