summary refs log tree commit diff
path: root/nixos/modules/services/amqp/activemq/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/amqp/activemq/default.nix')
-rw-r--r--nixos/modules/services/amqp/activemq/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/amqp/activemq/default.nix b/nixos/modules/services/amqp/activemq/default.nix
index 261f9761766..27bfd91cd2d 100644
--- a/nixos/modules/services/amqp/activemq/default.nix
+++ b/nixos/modules/services/amqp/activemq/default.nix
@@ -93,13 +93,13 @@ in {
   };
 
   config = mkIf cfg.enable {
-    users.extraUsers.activemq = {
+    users.users.activemq = {
       description = "ActiveMQ server user";
       group = "activemq";
       uid = config.ids.uids.activemq;
     };
 
-    users.extraGroups.activemq.gid = config.ids.gids.activemq;
+    users.groups.activemq.gid = config.ids.gids.activemq;
 
     systemd.services.activemq_init = {
       wantedBy = [ "activemq.service" ];