summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/ham/signal-rest/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/home/ham/signal-rest/default.nix')
-rw-r--r--makefu/2configs/home/ham/signal-rest/default.nix20
1 files changed, 4 insertions, 16 deletions
diff --git a/makefu/2configs/home/ham/signal-rest/default.nix b/makefu/2configs/home/ham/signal-rest/default.nix
index 250a3596d..4eac41ba8 100644
--- a/makefu/2configs/home/ham/signal-rest/default.nix
+++ b/makefu/2configs/home/ham/signal-rest/default.nix
@@ -1,18 +1,6 @@
-
-let
- port = 8631;
- image = "bbernhard/signal-cli-rest-api:latest";
- config = "/var/lib/signal-cli-config";
-in {
- systemd.tmpfiles.rules = [
- "d ${config} docker docker - -"
+{
+ imports = [
+ ./service.nix
+ ./hass.nix
];
- state = [ config ];
- virtualisation.oci-containers.containers.signal-rest = {
- image = image;
- ports = [ "127.0.0.1:${toString port}:8080" ];
- volumes = [
- "${config}:/home/.local/share/signal-cli"
- ];
- };
}