ops/nixos: set isNormalUser for all existing users
Now there's an assertion which requires either isNormalUser or isSystemUser, so we set one of them for all the users we have already.
This commit is contained in:
parent
42c9938f11
commit
0372f4b848
4 changed files with 10 additions and 1 deletions
|
@ -285,6 +285,8 @@ in {
|
|||
package = depot.nix.pkgs.heptapod-runner;
|
||||
};
|
||||
users.users.gitlab-runner = {
|
||||
isNormalUser = true;
|
||||
group = "nogroup";
|
||||
createHome = true;
|
||||
home = "/srv/gitlab-runner";
|
||||
};
|
||||
|
|
|
@ -329,7 +329,10 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
users.users.rsync = {};
|
||||
users.users.rsync = {
|
||||
isNormalUser = true;
|
||||
group = "nogroup";
|
||||
};
|
||||
systemd.services.rsyncd = {
|
||||
confinement.enable = true;
|
||||
serviceConfig = {
|
||||
|
|
|
@ -11,6 +11,8 @@ let
|
|||
in
|
||||
{
|
||||
users.users.ts3musicbot = {
|
||||
isNormalUser = true;
|
||||
group = "nogroup";
|
||||
createHome = true;
|
||||
home = "/var/lib/ts3musicbot";
|
||||
};
|
||||
|
|
|
@ -204,6 +204,8 @@ in {
|
|||
package = depot.nix.pkgs.heptapod-runner;
|
||||
};
|
||||
users.users.gitlab-runner = {
|
||||
isNormalUser = true;
|
||||
group = "nogroup";
|
||||
createHome = true;
|
||||
home = "/srv/gitlab-runner";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue