anchor.diff:        # databyse type to postgres.
         environment.etc."nextcloud-secrets.json".text = ''
           {
  -          "dbtype" : "pgsql"
  +          "redis": {
  +            "host": "/run/redis/redis.sock",
  +            "port": 0,
  +            "dbindex": 0,
  +            "password": "secret",
  +            "timeout": 1.5
  +          },
  +          "memcache": {
  +            "local": "\\OC\\Memcache\\Redis",
  +            "locking": "\\OC\\Memcache\\Redis"
  +          }
           }
         '';
       };
  
positive.code:         after = [
            "postgresql.service"
          ];
        };
  
        services.postgresql = {
  
negative.code:             ${adminpass}
            '');
          };
          secretFile = "/etc/nextcloud-secrets.json";
        };
  
        systemd.services.nextcloud-setup= {
  