nix/moduler/signal.nix
fwastring 6dc7c73245 Got Signal integration working
Added link to signal module
2025-09-11 21:19:56 +02:00

30 lines
525 B
Nix

{
lib,
config,
pkgs,
...
}:
let
in
{
networking.firewall.allowedTCPPorts = [ 8081 ];
# See this for docs on endpoints and more https://github.com/bbernhard/signal-cli-rest-api
virtualisation.oci-containers = {
backend = "podman";
containers = {
signal-cli = {
image = "bbernhard/signal-cli-rest-api";
volumes = [
"/var/signal:/home/.local/share/signal-cli"
];
ports = [ "192.168.1.227:8081:8080" ];
environment = {
MODE = "native";
PORT = "8080";
}
;
};
};
};
}