mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 17:57:50 +00:00
[Desktop/Developer] add initrd emergency access with root password
This commit is contained in:
parent
6b70655850
commit
e33500d8ce
1 changed files with 2 additions and 0 deletions
|
|
@ -104,6 +104,8 @@ in {
|
||||||
|
|
||||||
console.enable = true;
|
console.enable = true;
|
||||||
|
|
||||||
|
boot.initrd.systemd.emergencyAccess = mkIf (config.users.users.root.hashedPassword != null) config.users.users.root.hashedPassword;
|
||||||
|
|
||||||
environment.extraOutputsToInstall = [
|
environment.extraOutputsToInstall = [
|
||||||
"doc" "info" "dev" "debug" "static"
|
"doc" "info" "dev" "debug" "static"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue