Add jupiter storage
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -33,7 +33,10 @@ in
|
||||
createHome = true;
|
||||
description = "Container Runner";
|
||||
hashedPasswordFile = config.sops.secrets."${user}-password".path;
|
||||
extraGroups = [ "wheel" ];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"storage"
|
||||
];
|
||||
linger = true;
|
||||
uid = lib.strings.toInt (builtins.readFile ./uid);
|
||||
group = user;
|
||||
@@ -51,4 +54,8 @@ in
|
||||
username = user;
|
||||
homeDirectory = home;
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /mnt/storage/private/${user} 0700 ${user} ${config.users.users.${user}.group}"
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user