From 3c6ec354ced72ca8096196ecfb50a91d08010d5f Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sat, 18 Mar 2023 14:46:50 +0000 Subject: [PATCH] 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 --- modules/base.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/base.nix b/modules/base.nix index f24c499..4f4211e 100644 --- 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"; };