Try fixing missing root home directory

This commit is contained in:
Sandro - 2022-12-18 22:33:18 +01:00
parent ef8001e69d
commit e57371ae34
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 4 additions and 1 deletions

View File

@ -180,6 +180,9 @@ in
};
# store root users files persistent, especially .bash_history
users.users."root".home = "/home/root";
users.users."root" = {
createHome = true;
home = lib.mkForce "/home/root";
};
};
}