anchor.diff:              PATH = "/run/wrappers/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/usr/bin:/bin";
             };
             settings = mapAttrs (name: mkDefault) {
  -            "listen.owner" = "nginx";
  -            "listen.group" = "nginx";
  +            "listen.owner" = cfg.user;
  +            "listen.group" = group;
             } // cfg.poolSettings;
             extraConfig = cfg.poolConfig;
           };
         };
   
  -      users.extraUsers.nextcloud = {
  +      users.extraUsers.${cfg.user} = {
           home = "${cfg.home}";
  -        group = "nginx";
  +        inherit group;
           createHome = true;
         };
   
  
positive.code:       description = "Which package to use for the Nextcloud instance.";
        relatedPackages = [ "nextcloud17" "nextcloud18" "nextcloud19" ];
      };
  
      maxUploadSize = mkOption {
        default = "512M";
  
negative.code:     #! ${pkgs.runtimeShell}
      cd ${cfg.package}
      sudo=exec
      if [[ "$USER" != ${cfg.user} ]]; then
        sudo='exec /run/wrappers/bin/sudo -u ${cfg.user} --preserve-env=NEXTCLOUD_CONFIG_DIR --preserve-env=OC_PASS'
      fi
      export NEXTCLOUD_CONFIG_DIR="${cfg.home}/config"
      $sudo \
  