move root's home directory to /home/root

/ is a bad choice of home directory

/home/root instead of /root is to make it easier to write
ssh keys to the right place
module-based-network
Daniel Barlow 2023-03-18 14:46:50 +00:00
parent e78d5212e6
commit 3c6ec354ce
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ in {
];
users.root = {
uid = 0; gid= 0; gecos = "Root of all evaluation";
dir = "/";
dir = "/home/root/";
passwd = lib.mkDefault "";
shell = "/bin/sh";
};