ops/nixos: set group for isSystemUser users
This commit is contained in:
parent
cb7811898c
commit
19782a9e63
3 changed files with 8 additions and 2 deletions
|
@ -121,7 +121,7 @@ in {
|
|||
lukegb.extraGroups = [ "wheel" "content" "deluge" ];
|
||||
content = {
|
||||
isSystemUser = true;
|
||||
extraGroups = [ "content" ];
|
||||
group = "content";
|
||||
};
|
||||
plex.extraGroups = [ "content" ];
|
||||
deluge.extraGroups = [ "content" ];
|
||||
|
|
|
@ -118,6 +118,7 @@ in
|
|||
deployer = {
|
||||
isSystemUser = true;
|
||||
uid = 1001;
|
||||
group = "deployer";
|
||||
hashedPassword = "!";
|
||||
useDefaultShell = true;
|
||||
home = "/var/lib/deployer";
|
||||
|
@ -128,6 +129,7 @@ in
|
|||
];
|
||||
};
|
||||
};
|
||||
users.groups.deployer = {};
|
||||
security.sudo.extraRules = [{
|
||||
users = [ "deployer" ];
|
||||
commands = [{
|
||||
|
|
|
@ -12,7 +12,11 @@ in {
|
|||
80 443
|
||||
];
|
||||
|
||||
users.users.minotarproxy.isSystemUser = true;
|
||||
users.users.minotarproxy = {
|
||||
isSystemUser = true;
|
||||
group = "minotarproxy";
|
||||
};
|
||||
users.groups.minotarproxy = {};
|
||||
|
||||
systemd.services.minotarproxy = {
|
||||
description = "Minotar proxy";
|
||||
|
|
Loading…
Reference in a new issue