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.
  • Loading branch information
dguibert committed Mar 5, 2020
1 parent c667aba commit bbc2cd8
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 bbc2cd8

Please sign in to comment.