{pkgs, ...}: { services.piped = { enable = true; # Takes too much time to compile otherwise, idm extra bandwidth proxyPackage = (pkgs.piped-proxy.override { withAVIF = false; withWebP = false; }) .overrideAttrs { pname = "piped-proxy-debug"; doCheck = false; buildType = "debug"; }; postgresDBName = "piped"; postgresDBUsername = "piped"; postgresDBPassword = "piped"; postgresDBHost = "127.0.0.1"; postgresDBPort = 26257; databaseDialect = "org.hibernate.dialect.CockroachDialect"; disablePostgresDB = true; frontendDomain = "piped-uk.owo.monster"; backendDomain = "backend.piped-uk.owo.monster"; proxyDomain = "proxy.piped-uk.owo.monster"; }; systemd.services.piped-backend = { after = ["cockroachdb.service"]; wants = ["cockroachdb.service"]; }; }