Compare commits

...

2 Commits

Author SHA1 Message Date
coolneng d3f9ba91db
Remove dependency on old service for dns-blocklist 2023-06-23 15:25:26 +02:00
coolneng 9b5a6c9bb8
Use latest version of ddclient 2023-06-23 15:24:47 +02:00
2 changed files with 14 additions and 2 deletions

View File

@ -1,6 +1,16 @@
{ config, pkgs, lib, ... }:
let wireguard_port = 1194;
let
wireguard_port = 1194;
latest-ddclient = pkgs.ddclient.overrideAttrs (old: rec {
src = pkgs.fetchFromGitHub {
owner = "ddclient";
repo = "ddclient";
rev = "3136871720a3c2abf730c9485edc351563765d0e";
sha256 = "sha256-qb1DF0DaVbPgQokGx0t7VVk3pe3KuA8mNRPrBMzhWvU=";
};
});
in {
# Enable systemd-networkd
@ -38,6 +48,9 @@ in {
services.ddclient = {
enable = true;
quiet = true;
use = "web, web=freedns";
package = latest-ddclient;
interval = "30min";
protocol = "duckdns";
domains = [ "coolneng.duckdns.org" ];
passwordFile = config.age.secrets.ddclient.path;

View File

@ -28,7 +28,6 @@ in {
chown -R dnsmasq ${stateDir}
'';
requiredBy = [ "dnsmasq.service" ];
after = [ "wireguard-wg0.service" ];
startAt = "02:00:00";
};