diff options
| -rw-r--r-- | configs/claude.nix | 3 | ||||
| -rw-r--r-- | configs/hermes.nix | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/configs/claude.nix b/configs/claude.nix index f29ea2f..683e287 100644 --- a/configs/claude.nix +++ b/configs/claude.nix @@ -37,6 +37,9 @@ in users.users.claude = { isNormalUser = true; + # Fixed, for the files on the home drive: users get created anew at + # every boot, and their uids would depend on the other users there. + uid = 1000; home = "/home/claude"; # /home is mounted after users get created, see tmpfiles below. createHome = false; diff --git a/configs/hermes.nix b/configs/hermes.nix index 633d804..598a067 100644 --- a/configs/hermes.nix +++ b/configs/hermes.nix @@ -157,8 +157,13 @@ in users.users.hermes = { isSystemUser = lib.mkForce false; isNormalUser = true; + # Fixed, for the files on the home drive: users get created anew at + # every boot, and their uids would depend on the other users there. + # Not claude's (configs/claude.nix). + uid = 1001; createHome = lib.mkForce false; }; + users.groups.hermes.gid = 1001; # 0700 rather than the module's 2770 (setgid, for its hostUsers, which # aren't used here): before it, so it's the one systemd-tmpfiles takes # (it ignores later lines for the same path, with a warning). |
