mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-19 20:09:01 +02: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 a new issue