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:
parent
3874e84360
commit
dd82cce766
1 changed files with 2 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue