git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/unit: fix attrs
commitf2c9bcf0094958cdc7fcb7e7abc2df25d5cd513d authorIzorkin <izorkin@elven.pw> dateThu 23 Jan 2020, 20:39 (7 years ago) parentace14c5
1 file changed+4−2
nixos/modules/services/web-servers/unit/default.nix+4−2
nixos/modules/services/web-servers/unit/default.nix+4−2
@@ -130,8 +130,10 @@ in {
130130 };
131131
132132 users.users = optionalAttrs (cfg.user == "unit") {
133− unit.group = cfg.group;
134− isSystemUser = true;
133+ unit = {
134+ group = cfg.group;
135+ isSystemUser = true;
136+ };
135137 };
136138
137139 users.groups = optionalAttrs (cfg.group == "unit") {