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:
Luke Granger-Brown 2021-04-17 20:16:27 +01:00
parent 42c9938f11
commit 0372f4b848
4 changed files with 10 additions and 1 deletions

View file

@ -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";
};

View file

@ -329,7 +329,10 @@ in {
};
};
};
users.users.rsync = {};
users.users.rsync = {
isNormalUser = true;
group = "nogroup";
};
systemd.services.rsyncd = {
confinement.enable = true;
serviceConfig = {

View file

@ -11,6 +11,8 @@ let
in
{
users.users.ts3musicbot = {
isNormalUser = true;
group = "nogroup";
createHome = true;
home = "/var/lib/ts3musicbot";
};

View file

@ -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";
};