marleyos/modules/nixos/services/ddclient/default.nix

18 lines
300 B
Nix
Raw Normal View History

2025-02-26 04:12:54 +00:00
{
lib,
config,
...
}: let
cfg = config.marleyos.services.ddclient;
in {
options.marleyos.services.ddclient.enable = lib.mkEnableOption "ddclient";
config = lib.mkIf cfg.enable {
services.ddclient = {
enable = true;
configFile = /home/marley/ddclient.conf;
};
};
}