diff options
author | tv <tv@krebsco.de> | 2021-06-02 00:11:38 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-06-02 00:11:38 +0200 |
commit | f558f1bc0c779cc310ff8a712d4f178db73de6ef (patch) | |
tree | 6cac8d2b00211e6854522583e198032d971255ab /krebs/3modules/git.nix | |
parent | b7f6bab7aea34848ebcc5fd3b5c31a9cac0d8c1c (diff) |
*: set isSystemUser or isNormalUser
This is a requirement for nixpkgs 21.05, or else evaluation will fail
with:
Exactly one of users.users.${name}.isSystemUser and users.users.${name}.isNormalUser must be set.
Diffstat (limited to 'krebs/3modules/git.nix')
-rw-r--r-- | krebs/3modules/git.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/krebs/3modules/git.nix b/krebs/3modules/git.nix index 4eb881341..d31d91b7c 100644 --- a/krebs/3modules/git.nix +++ b/krebs/3modules/git.nix @@ -366,6 +366,7 @@ let # To allow running cgit-clear-cache via hooks. cfg.cgit.fcgiwrap.group.name ]; + isSystemUser = true; shell = "/bin/sh"; openssh.authorizedKeys.keys = unique @@ -384,6 +385,7 @@ let users.${cfg.cgit.fcgiwrap.user.name} = { inherit (cfg.cgit.fcgiwrap.user) home name uid; group = cfg.cgit.fcgiwrap.group.name; + isSystemUser = true; }; }; |