1
Fork 0

Fix lapetus build

This commit is contained in:
prescientmoon 2024-07-08 03:18:36 +02:00
parent 2b926c51cb
commit f3bc21486a
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
2 changed files with 6 additions and 2 deletions

View file

@ -14,6 +14,9 @@
users.pilot = {
inherit (config.satellite.pilot) name;
# This gets referenced in other parts of the config
uid = 1000;
# Adds me to some default groups, and creates the home dir
isNormalUser = true;
@ -30,6 +33,7 @@
"syncthing" # syncthing!
];
hashedPasswordFile = config.sops.secrets.pilot_password.path;
shell = pkgs.fish;

View file

@ -25,8 +25,8 @@ in
environment = {
WEBUI_PORT = toString port;
PUID = "1000";
PGID = config.users.groups.users.gid;
PUID = toString config.users.users.pilot.uid;
PGID = toString config.users.groups.users.gid;
TZ = config.time.timeZone;
};
};