1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 17:46:29 +09:00

nixos/tandoor-recipes: fix default user and group creation

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2025-03-03 10:04:50 +01:00
parent 3874e84360
commit dd82cce766
No known key found for this signature in database
GPG key ID: E13DFD4B47127951

View file

@ -92,14 +92,14 @@ in
config = lib.mkIf cfg.enable {
users.users = lib.mkIf (cfg.user == "tandoor_recipes") {
tandoor-recipes = {
tandoor_recipes = {
inherit (cfg) group;
isSystemUser = true;
};
};
users.groups = lib.mkIf (cfg.group == "tandoor_recipes") {
tandoor-recipes = { };
tandoor_recipes = { };
};
systemd.services.tandoor-recipes = {