Unverified Commit ae1f0f57 authored by Sefa Eyeoglu's avatar Sefa Eyeoglu Committed by GitHub
Browse files

nixos/tandoor-recipes: fix default user and group creation (#386648)

parents 3e591e4e dd82cce7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 = {