Unverified Commit dd82cce7 authored by Sefa Eyeoglu's avatar Sefa Eyeoglu
Browse files

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

parent 3874e843
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 = {