anchor.diff:          (mkIf (!cfg.ssh.enable) {
             DISABLE_SSH = true;
           })
  +        (mkIf cfg.lfs.enable {
  +          LFS_START_SERVER = true;
  +          LFS_CONTENT_PATH = cfg.lfs.contentDir;
  +        })
  +
         ];
   
         session = {
  
positive.code:         RuntimeDirectory = "gitea";
          RuntimeDirectoryMode = "0755";
          # Access write directories
          ReadWritePaths = [ cfg.dump.backupDir cfg.repositoryRoot cfg.stateDir ];
          UMask = "0027";
          # Capabilities
          CapabilityBoundingSet = "";
  
negative.code:             The option is required to configure a service when the external visible port
              differs from the local listening port i.e. if port forwarding is used.
            '';
          };
        };
  
        lfs = {
          enable = mkOption {
            type = types.bool;
            default = false;
            description = "Enables git-lfs support.";
          };
  
          contentDir = mkOption {
            type = types.str;
            default = "${cfg.stateDir}/data/lfs";
            description = "Where to store LFS files.";
          };
        };
  
  