From b8a120b986b144c6e304e357a779c4314ea50aae Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Wed, 31 Jan 2024 22:09:04 +0100 Subject: [PATCH] Re-enable `pounce` stuff --- hosts/nixos/lapetus/services/pounce.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hosts/nixos/lapetus/services/pounce.nix b/hosts/nixos/lapetus/services/pounce.nix index ffaf999..30b5d7b 100644 --- a/hosts/nixos/lapetus/services/pounce.nix +++ b/hosts/nixos/lapetus/services/pounce.nix @@ -11,16 +11,16 @@ let makeNetworkConfig = host: port: join: secret: { in { security.acme.certs."wildcard-irc.moonythm.dev" = { - group = "pounce"; + group = config.services.pounce.user; domain = "*.irc.moonythm.dev"; }; sops.secrets.tilde_irc_pass.sopsFile = ../secrets.yaml; sops.templates."pounce-tilde.cfg" = makeNetworkConfig "eu.tilde.chat" 6697 "#meta" "tilde_irc_pass"; - # services.pounce = { - # enable = true; - # externalHost = "irc.moonythm.dev"; - # certDir = "/var/lib/acme/wildcard-irc.moonythm.dev"; - # networks.tilde.config = config.sops.templates."pounce-tilde.cfg".path; - # }; + services.pounce = { + enable = true; + externalHost = "irc.moonythm.dev"; + certDir = "/var/lib/acme/wildcard-irc.moonythm.dev"; + networks.tilde.config = config.sops.templates."pounce-tilde.cfg".path; + }; }