Fix lapetus build
This commit is contained in:
parent
2b926c51cb
commit
f3bc21486a
|
@ -14,6 +14,9 @@
|
||||||
users.pilot = {
|
users.pilot = {
|
||||||
inherit (config.satellite.pilot) name;
|
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
|
# Adds me to some default groups, and creates the home dir
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
||||||
|
@ -30,6 +33,7 @@
|
||||||
"syncthing" # syncthing!
|
"syncthing" # syncthing!
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
hashedPasswordFile = config.sops.secrets.pilot_password.path;
|
hashedPasswordFile = config.sops.secrets.pilot_password.path;
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,8 @@ in
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
WEBUI_PORT = toString port;
|
WEBUI_PORT = toString port;
|
||||||
PUID = "1000";
|
PUID = toString config.users.users.pilot.uid;
|
||||||
PGID = config.users.groups.users.gid;
|
PGID = toString config.users.groups.users.gid;
|
||||||
TZ = config.time.timeZone;
|
TZ = config.time.timeZone;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue