nixos/unit: fix attrs

This commit is contained in:
Izorkin 2020-01-23 20:39:33 +03:00
parent ace14c5b38
commit f2c9bcf009

View file

@ -130,8 +130,10 @@ in {
};
users.users = optionalAttrs (cfg.user == "unit") {
unit.group = cfg.group;
isSystemUser = true;
unit = {
group = cfg.group;
isSystemUser = true;
};
};
users.groups = optionalAttrs (cfg.group == "unit") {