nix-config/hosts/franz/arion/signal/default.nix

23 lines
500 B
Nix
Raw Normal View History

2024-12-09 12:56:37 +01:00
{config, ...}: let
vars = import ../../../../vars.nix;
in {
2024-03-07 16:47:08 +01:00
virtualisation.arion = {
2024-03-17 15:18:23 +01:00
projects.signal.settings = {
2024-03-07 16:47:08 +01:00
imports = [./arion-compose.nix];
};
};
2024-12-09 12:56:37 +01:00
sops.secrets."signal/vapid_privkey" = {
owner = vars.user;
};
sops.templates."mollysocket.env" = {
path = "/home/${vars.user}/.docker/signal/mollysocket.env";
owner = vars.user;
mode = "0775";
content = ''
MOLLY_VAPID_PRIVKEY="${config.sops.placeholder."signal/vapid_privkey"}"
'';
};
2024-03-07 16:47:08 +01:00
}