23 lines
578 B
Nix
23 lines
578 B
Nix
args@{ config, lib, pkgs, custom-utils, ... }:
|
|
|
|
let
|
|
ports = import ../ports.nix args;
|
|
in
|
|
{
|
|
sops.secrets.myintercom-doorbell-password = {
|
|
sopsFile = ../secrets.yaml;
|
|
owner = "asterisk";
|
|
};
|
|
services.myintercom-doorbell = {
|
|
enable = true;
|
|
host = "192.168.0.74";
|
|
username = "btxpvt0002";
|
|
passwordFile = config.sops.secrets.myintercom-doorbell-password.path;
|
|
audiosocket = {
|
|
address = "127.0.0.1";
|
|
port = ports.doorbell-audiosocket.tcp;
|
|
uuid = "4960ab41-dbef-4773-a25e-90536d97345e";
|
|
};
|
|
callerId = "Sprechanlage";
|
|
};
|
|
}
|