Try fixing missing root home directory
This commit is contained in:
parent
ef8001e69d
commit
e57371ae34
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user