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
This commit is contained in:
Daniel Barlow 2023-03-18 14:46:50 +00:00
parent e78d5212e6
commit 3c6ec354ce

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";
};