Override ddclient version
This commit is contained in:
parent
8ba0e817fe
commit
504ec75c55
|
@ -1,5 +1,5 @@
|
||||||
# DDClient is a dynamic dns service
|
# DDClient is a dynamic dns service
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [ ../../common/optional/services/acme.nix ];
|
imports = [ ../../common/optional/services/acme.nix ];
|
||||||
|
|
||||||
|
@ -7,6 +7,16 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
interval = "1m";
|
interval = "1m";
|
||||||
configFile = config.sops.templates."ddclient.conf".path;
|
configFile = config.sops.templates."ddclient.conf".path;
|
||||||
|
|
||||||
|
# REASON: latest release doesn't support explicit root-domain annotations for porkbun
|
||||||
|
package = pkgs.ddclient.overrideAttrs (_: {
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "ddclient";
|
||||||
|
repo = "ddclient";
|
||||||
|
rev = "9885d55a3741363ad52d3463cb846d5782efb073";
|
||||||
|
sha256 = "0zyi8h13y18vrlxavx1vva4v0ya5v08bxdxlr3is49in3maz2n37";
|
||||||
|
};
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
sops.templates."ddclient.conf".content = ''
|
sops.templates."ddclient.conf".content = ''
|
||||||
|
|
Loading…
Reference in a new issue