liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3c6ec354ced72ca8096196ecfb50a91d08010d5f
parent e78d5212e64899a3d550b6fa5fd240cff96a3744
Author: Daniel Barlow <dan@telent.net>
Date:   Sat, 18 Mar 2023 14:46:50 +0000

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

Diffstat:
Mmodules/base.nix | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/base.nix b/modules/base.nix @@ -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"; };