dotfiles/system/nixos/cfdyndns.nix
2024-06-12 10:00:37 +02:00

9 lines
186 B
Nix

{ config, secret, ... }:
{
services.cfdyndns = {
enable = true;
inherit (secret.cfdyndns) email records;
apiTokenFile = config.age.secrets.cfdyndns-api-token.path;
};
}