users.groups.disnix instead of a list

related to #63103.
wip/yesman
David Guibert 4 years ago
parent c667aba79c
commit bbc2cd89ef
  1. 5
      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 {

Loading…
Cancel
Save