anchor.diff:            echo "$superuserState" > "$superuserStateFile"
           fi
         '';
  -    } // optionalAttrs (!hasCustomRedis) {
  +    } // optionalAttrs enableRedis {
         after = [ "redis-paperless-ng.service" ];
       };
   
  
positive.code:       "-/etc/hosts"
        "-/etc/localtime"
        "-/run/postgresql"
      ] ++ (optional (!hasCustomRedis) config.services.redis.servers.paperless-ng.unixSocket);
      BindPaths = [
        cfg.consumptionDir
        cfg.dataDir
  
negative.code:     GUNICORN_CMD_ARGS = "--bind=${cfg.address}:${toString cfg.port}";
    } // (
      lib.mapAttrs (_: toString) cfg.extraConfig
    ) // (optionalAttrs enableRedis {
      PAPERLESS_REDIS = "unix://${redisServer.unixSocket}";
    });
  
    manage = let
  