1
Fork 0

Re-enable pounce stuff

This commit is contained in:
Matei Adriel 2024-01-31 22:09:04 +01:00
parent aeb3299f44
commit b8a120b986
No known key found for this signature in database

View file

@ -11,16 +11,16 @@ let makeNetworkConfig = host: port: join: secret: {
in in
{ {
security.acme.certs."wildcard-irc.moonythm.dev" = { security.acme.certs."wildcard-irc.moonythm.dev" = {
group = "pounce"; group = config.services.pounce.user;
domain = "*.irc.moonythm.dev"; domain = "*.irc.moonythm.dev";
}; };
sops.secrets.tilde_irc_pass.sopsFile = ../secrets.yaml; sops.secrets.tilde_irc_pass.sopsFile = ../secrets.yaml;
sops.templates."pounce-tilde.cfg" = makeNetworkConfig "eu.tilde.chat" 6697 "#meta" "tilde_irc_pass"; sops.templates."pounce-tilde.cfg" = makeNetworkConfig "eu.tilde.chat" 6697 "#meta" "tilde_irc_pass";
# services.pounce = { services.pounce = {
# enable = true; enable = true;
# externalHost = "irc.moonythm.dev"; externalHost = "irc.moonythm.dev";
# certDir = "/var/lib/acme/wildcard-irc.moonythm.dev"; certDir = "/var/lib/acme/wildcard-irc.moonythm.dev";
# networks.tilde.config = config.sops.templates."pounce-tilde.cfg".path; networks.tilde.config = config.sops.templates."pounce-tilde.cfg".path;
# }; };
} }