Compare commits

...

5 Commits

3 changed files with 13 additions and 2 deletions

View File

@@ -104,6 +104,7 @@
domain = "games.alexion.dev"; domain = "games.alexion.dev";
protocol = "https"; protocol = "https";
port = 80; port = 80;
clientMaxBodySize = "0";
}; };
}; };
}; };

View File

@@ -71,7 +71,10 @@ let
extraConfig = lib.optionalString (route.clientMaxBodySize != null) '' extraConfig = lib.optionalString (route.clientMaxBodySize != null) ''
client_max_body_size ${route.clientMaxBodySize}; client_max_body_size ${route.clientMaxBodySize};
''; '';
locations."/".proxyPass = mkBackend address port; locations."/" = {
proxyPass = mkBackend address port;
proxyWebsockets = true;
};
}; };
}; };

View File

@@ -37,10 +37,17 @@ in
database.createLocally = true; database.createLocally = true;
redis.createLocally = true; redis.createLocally = true;
watcher.enable = true; watcher.enable = true;
extraEnvironment.ROM_CONVERTO_ENABLED = "false"; extraEnvironment = {
HASHEOUS_API_ENABLED = "true";
PLAYMATCH_API_ENABLED = "true";
ROM_CONVERTO_ENABLED = "false";
};
inherit (cfg) environmentFile; inherit (cfg) environmentFile;
}; };
systemd.services.romm-worker.serviceConfig.ExecStart =
lib.mkForce "${lib.getExe' config.services.romm.package "romm-worker"} scans";
systemd.tmpfiles.settings."10-romm"."${config.services.romm.dataDir}/config/config.yml"."L+".argument = systemd.tmpfiles.settings."10-romm"."${config.services.romm.dataDir}/config/config.yml"."L+".argument =
toString ( toString (
(pkgs.formats.yaml { }).generate "romm-config.yml" { (pkgs.formats.yaml { }).generate "romm-config.yml" {