Add port attrset

This commit is contained in:
Jakob Lechner 2023-11-22 14:49:57 +00:00
parent e7f9b90db3
commit f0762b17c6
No known key found for this signature in database
GPG key ID: 996082EFB5906C10
26 changed files with 233 additions and 48 deletions

View file

@ -1,4 +1,8 @@
{ config, lib, pkgs, ... }:
args@{ config, lib, pkgs, custom-utils, ... }:
let
ports = import ../ports.nix args;
in
{
sops.secrets.myintercom-doorbell-password = {
sopsFile = ../secrets.yaml;
@ -11,7 +15,7 @@
passwordFile = config.sops.secrets.myintercom-doorbell-password.path;
audiosocket = {
address = "127.0.0.1";
port = 9092;
port = ports.doorbell-audiosocket.tcp;
uuid = "4960ab41-dbef-4773-a25e-90536d97345e";
};
callerId = "Sprechanlage";