summary refs log tree commit diff
path: root/nixos/modules/services/networking/asterisk.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/asterisk.nix')
-rw-r--r--nixos/modules/services/networking/asterisk.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/asterisk.nix b/nixos/modules/services/networking/asterisk.nix
index 514204db33f..b8ec2b25a22 100644
--- a/nixos/modules/services/networking/asterisk.nix
+++ b/nixos/modules/services/networking/asterisk.nix
@@ -211,7 +211,7 @@ in
 
     environment.etc.asterisk.source = asteriskEtc;
 
-    users.extraUsers.asterisk =
+    users.users.asterisk =
       { name = asteriskUser;
         group = asteriskGroup;
         uid = config.ids.uids.asterisk;
@@ -219,7 +219,7 @@ in
         home = varlibdir;
       };
 
-    users.extraGroups.asterisk =
+    users.groups.asterisk =
       { name = asteriskGroup;
         gid = config.ids.gids.asterisk;
       };