From 5bb92281f50cc692aba94af7fe877092c7f0f9b3 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Tue, 12 Mar 2024 19:34:25 -0400 Subject: [PATCH] nixos/dnscache: Provide explicit group for "dnscache" user Without this patch the module refuses to evaluate, complaining that default "nogroup" is no longer supported. --- nixos/modules/services/networking/dnscache.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/dnscache.nix b/nixos/modules/services/networking/dnscache.nix index eff13f69f470..4f5b77a5b685 100644 --- a/nixos/modules/services/networking/dnscache.nix +++ b/nixos/modules/services/networking/dnscache.nix @@ -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";