From 59fbd4518770b88d7e8a1e7c13b4789df23cf9d3 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 21 Nov 2026 02:23:07 +0000 Subject: configs: fixed uids for claude and hermes The guest creates its users anew at every boot (userborn's state is on the tmpfs), so a user's uid depended on which other users there were: another layer's user could take claude's 1000, and the files on the home drive would belong to someone else. claude keeps 1000, which its files have already; hermes, and its group, get 1001. --- configs/claude.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configs/claude.nix') 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; -- cgit v1.3.1