diff --git a/hosts/noximilien/default.nix b/hosts/noximilien/default.nix index bf90645..42641af 100644 --- a/hosts/noximilien/default.nix +++ b/hosts/noximilien/default.nix @@ -79,7 +79,10 @@ ../../profiles/autossh-reverse-tunnels #../../profiles/xrdp ]; - services.domeneshop-updater.target = "olavtr.pbsds.net"; + services.domeneshop-updater.targets = [ + "pbsds.net" + "olavtr.pbsds.net" + ]; # TODO: remove? Move to where relevant? nixpkgs.overlays = [ diff --git a/profiles/domeneshop-dyndns/default.nix b/profiles/domeneshop-dyndns/default.nix index 7dd329a..8cce99f 100644 --- a/profiles/domeneshop-dyndns/default.nix +++ b/profiles/domeneshop-dyndns/default.nix @@ -6,9 +6,9 @@ in # auto domain update options = with lib; { - services.domeneshop-updater.target = mkOption { - type = types.str; #TODO list of string - #default = config.networking.fqdn; + services.domeneshop-updater.targets = mkOption { + type = with types; listOf str; + #default = [ config.networking.fqdn ]; }; }; @@ -30,7 +30,9 @@ in } DOMENESHOP_TOKEN="$( tomlq