mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27: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;
|
||||
|
||||
boot.initrd.systemd.emergencyAccess = mkIf (config.users.users.root.hashedPassword != null) config.users.users.root.hashedPassword;
|
||||
|
||||
environment.extraOutputsToInstall = [
|
||||
"doc" "info" "dev" "debug" "static"
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue