fix(signal-irc-bridge): make it work

This commit is contained in:
sinavir 2024-07-20 00:44:55 +02:00
parent 5e7a6b09ec
commit f6c9137850
3 changed files with 9 additions and 5 deletions

View file

@ -7,12 +7,16 @@
{
imports = [ (import (sources.signal-irc-bridge.outPath + "/module.nix")) ];
systemd.services.signal-irc-bridge.serviceConfig = {
Group = "nginx";
};
services.signal-irc-bridge = {
enable = true;
package = nixpkgs.unstable.callPackage (sources.signal-irc-bridge.outPath + "/package.nix") { };
configFile = config.age.secrets."signal-irc-bridge-config".path;
};
services.nginx.virtualHosts."bridge.dgnum.eu" = {
forceSSL = true;
enableACME = true;
locations."/files/".alias = "/var/lib/signal-irc/hermes-media/";
};
users.users.nginx.extraGroups = [ "signal-irc" ];
}

View file

@ -252,9 +252,9 @@
"url": "https://git.dgnum.eu/mdebray/signal-irc-bridge"
},
"branch": "master",
"revision": "675453d43a1f1994fc536a5f2210d82b92b9d7c2",
"revision": "688a5c324e032f7716aa69fb7097971fa26bed1d",
"url": null,
"hash": "139xy539vcxmv92p7vxykyns35m783v4nywfjb55532cn3h0czv5"
"hash": "153mb2m3ap3v3y1inygqic551vawz1i08pbx2v1viaind3nd2l6m"
},
"stateless-uptime-kuma": {
"type": "Git",