From a2a2fae53b1c5e4cff1e859a9dcd8d2d56a64237 Mon Sep 17 00:00:00 2001 From: David Guibert Date: Thu, 5 Mar 2020 09:00:26 +0100 Subject: [PATCH] users.groups.disnix instead of a list related to #63103. (cherry picked from commit bbc2cd89ef4aa3788fc8664f7940f6e15aec8cbb) --- nixos/modules/services/misc/disnix.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nixos/modules/services/misc/disnix.nix b/nixos/modules/services/misc/disnix.nix index c21cb2afc3ca4..b7b6eb7cd66e4 100644 --- a/nixos/modules/services/misc/disnix.nix +++ b/nixos/modules/services/misc/disnix.nix @@ -61,10 +61,7 @@ in ++ optional cfg.useWebServiceInterface "${pkgs.dbus_java}/share/java/dbus.jar"; services.tomcat.webapps = optional cfg.useWebServiceInterface pkgs.DisnixWebService; - users.groups = singleton - { name = "disnix"; - gid = config.ids.gids.disnix; - }; + users.groups.disnix.gid = config.ids.gids.disnix; systemd.services = { disnix = mkIf cfg.enableMultiUser {