nixos/dnscache: Provide explicit group for "dnscache" user

Without this patch the module refuses to evaluate, complaining that
default "nogroup" is no longer supported.
This commit is contained in:
Dmitry Bogatov 2024-03-12 19:34:25 -04:00 committed by Bjørn Forsman
parent 5393cc5dc2
commit 5bb92281f5

View File

@ -86,7 +86,11 @@ in {
config = mkIf config.services.dnscache.enable {
environment.systemPackages = [ pkgs.djbdns ];
users.users.dnscache.isSystemUser = true;
users.users.dnscache = {
isSystemUser = true;
group = "dnscache";
};
users.groups.dnscache = {};
systemd.services.dnscache = {
description = "djbdns dnscache server";