forked from DGNum/infrastructure
fix(signal-irc-bridge): make it work
This commit is contained in:
parent
5e7a6b09ec
commit
f6c9137850
3 changed files with 9 additions and 5 deletions
Binary file not shown.
|
@ -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" ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue