summary refs log tree commit diff
path: root/nixos/modules/services/networking/shairport-sync.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/shairport-sync.nix')
-rw-r--r--nixos/modules/services/networking/shairport-sync.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/services/networking/shairport-sync.nix b/nixos/modules/services/networking/shairport-sync.nix
index 68e005ab81d..2e988e0ca2e 100644
--- a/nixos/modules/services/networking/shairport-sync.nix
+++ b/nixos/modules/services/networking/shairport-sync.nix
@@ -55,9 +55,8 @@ in
     services.avahi.publish.enable = true;
     services.avahi.publish.userServices = true;
 
-    users.users = singleton
-      { name = cfg.user;
-        description = "Shairport user";
+    users.users.${cfg.user} =
+      { description = "Shairport user";
         isSystemUser = true;
         createHome = true;
         home = "/var/lib/shairport-sync";