fix(signal-irc-bridge): make it work
Some checks failed
build configuration / build_web02 (push) Failing after 1m25s
build configuration / build_storage01 (push) Successful in 1m26s
build configuration / build_vault01 (push) Successful in 1m40s
build configuration / build_web01 (push) Successful in 1m52s
lint / check (push) Successful in 29s
build configuration / build_compute01 (push) Successful in 2m43s
build configuration / build_rescue01 (push) Successful in 1m18s
build configuration / push_to_cache (push) Has been skipped

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")) ]; imports = [ (import (sources.signal-irc-bridge.outPath + "/module.nix")) ];
systemd.services.signal-irc-bridge.serviceConfig = {
Group = "nginx";
};
services.signal-irc-bridge = { services.signal-irc-bridge = {
enable = true; enable = true;
package = nixpkgs.unstable.callPackage (sources.signal-irc-bridge.outPath + "/package.nix") { }; package = nixpkgs.unstable.callPackage (sources.signal-irc-bridge.outPath + "/package.nix") { };
configFile = config.age.secrets."signal-irc-bridge-config".path; 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" "url": "https://git.dgnum.eu/mdebray/signal-irc-bridge"
}, },
"branch": "master", "branch": "master",
"revision": "675453d43a1f1994fc536a5f2210d82b92b9d7c2", "revision": "688a5c324e032f7716aa69fb7097971fa26bed1d",
"url": null, "url": null,
"hash": "139xy539vcxmv92p7vxykyns35m783v4nywfjb55532cn3h0czv5" "hash": "153mb2m3ap3v3y1inygqic551vawz1i08pbx2v1viaind3nd2l6m"
}, },
"stateless-uptime-kuma": { "stateless-uptime-kuma": {
"type": "Git", "type": "Git",