summary refs log tree commit diff
path: root/nixos/modules/services/networking/mxisd.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-01-07 20:06:22 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2020-01-07 20:06:22 +0100
commita823616723c44700a1c976fee77aafb470388e19 (patch)
tree08c996bb7f020cda3aa27ef881b61b0d3807b383 /nixos/modules/services/networking/mxisd.nix
parent7f8111955082b4aa7dce2718b9ef4d8ad0f4584b (diff)
parentc425a7e694ef48513e35b60a124587ef382b2fa6 (diff)
downloadnixpkgs-a823616723c44700a1c976fee77aafb470388e19.tar
nixpkgs-a823616723c44700a1c976fee77aafb470388e19.tar.gz
nixpkgs-a823616723c44700a1c976fee77aafb470388e19.tar.bz2
nixpkgs-a823616723c44700a1c976fee77aafb470388e19.tar.lz
nixpkgs-a823616723c44700a1c976fee77aafb470388e19.tar.xz
nixpkgs-a823616723c44700a1c976fee77aafb470388e19.tar.zst
nixpkgs-a823616723c44700a1c976fee77aafb470388e19.zip
Merge master into staging-next
Diffstat (limited to 'nixos/modules/services/networking/mxisd.nix')
-rw-r--r--nixos/modules/services/networking/mxisd.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/nixos/modules/services/networking/mxisd.nix b/nixos/modules/services/networking/mxisd.nix
index a3d61922e57..b59371d241e 100644
--- a/nixos/modules/services/networking/mxisd.nix
+++ b/nixos/modules/services/networking/mxisd.nix
@@ -93,23 +93,20 @@ in {
   };
 
   config = mkIf cfg.enable {
-    users.users = [
+    users.users.mxisd =
       {
-        name = "mxisd";
         group = "mxisd";
         home = cfg.dataDir;
         createHome = true;
         shell = "${pkgs.bash}/bin/bash";
         uid = config.ids.uids.mxisd;
-      }
-    ];
+      };
 
-    users.groups = [
+    users.groups.mxisd =
       {
-        name = "mxisd";
+        name = "";
         gid = config.ids.gids.mxisd;
-      }
-    ];
+      };
 
     systemd.services.mxisd = {
       description = "a federated identity server for the matrix ecosystem";