mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
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:
parent
5393cc5dc2
commit
5bb92281f5
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user