Skip to content

Commit

Permalink
users.groups.disnix instead of a list
Browse files Browse the repository at this point in the history
related to #63103.

(cherry picked from commit bbc2cd8)
  • Loading branch information
dguibert authored and svanderburg committed Mar 14, 2020
1 parent c2e347c commit a2a2fae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions nixos/modules/services/misc/disnix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a2a2fae

Please sign in to comment.