diff --git a/lib/stats.nix b/lib/stats.nix index 4a532a04..3c8deab3 100644 --- a/lib/stats.nix +++ b/lib/stats.nix @@ -44,7 +44,10 @@ in }; }; # Workaround for nixpkgs/master: - users.users.collectd.group = "collectd"; + users.users.collectd = { + isSystemUser = true; + group = "collectd"; + }; users.groups.collectd = {}; services.nginx = lib.mkIf config.services.nginx.enable {