Skip to content

Commit

Permalink
Merge pull request #81809 from dguibert/dg/disnix-group-list-to-attrset
Browse files Browse the repository at this point in the history
users.groups.disnix instead of a list
  • Loading branch information
rnhmjoj authored Mar 5, 2020
2 parents 6fd71f3 + bbc2cd8 commit e64dcc2
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 e64dcc2

Please sign in to comment.