[Desktop/Developer] add initrd emergency access with root password

This commit is contained in:
Antoine Viallon 2023-11-07 21:40:10 +01:00
parent 6b70655850
commit e33500d8ce
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -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"
];