refactor: abstract app user creation via custom options
This commit is contained in:
parent
1403b1f9c0
commit
d742671460
7 changed files with 52 additions and 36 deletions
|
|
@ -34,12 +34,9 @@ in {
|
|||
virtualisation.containers.enable = true;
|
||||
};
|
||||
|
||||
users.users.calibre = {
|
||||
uid = lib.mkForce 3010;
|
||||
isSystemUser = true;
|
||||
homelab.appUsers.calibre = {
|
||||
uid = 3010;
|
||||
group = config.users.groups.media.name;
|
||||
home = "/var/empty";
|
||||
shell = null;
|
||||
};
|
||||
|
||||
homelab.nfsMounts."${books}" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue