summary refs log tree commit diff
path: root/nixos/modules/services/networking/dnschain.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/dnschain.nix')
-rw-r--r--nixos/modules/services/networking/dnschain.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/dnschain.nix b/nixos/modules/services/networking/dnschain.nix
index 2586f2d74e9..003609ea705 100644
--- a/nixos/modules/services/networking/dnschain.nix
+++ b/nixos/modules/services/networking/dnschain.nix
@@ -147,8 +147,7 @@ in
       '';
     };
 
-    users.users = singleton {
-      name = username;
+    users.users.${username} = {
       description = "DNSChain daemon user";
       home = dataDir;
       createHome = true;