Adding ddclient
This commit is contained in:
+24
-3
@@ -93,7 +93,7 @@
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
networking.hostName = "dogma-nixos"; # Define your hostname.
|
||||
networking.hostName = "dogma-nixos";
|
||||
|
||||
# Configure network connections interactively with nmcli or nmtui.
|
||||
networking.networkmanager.enable = true;
|
||||
@@ -140,6 +140,9 @@
|
||||
"dedyn/dnsuser" = {};
|
||||
"github/token" = {};
|
||||
"gitlab/token" = {};
|
||||
"namecheap/ddyn_password" = {
|
||||
restartUnits = ["ddclient.service"];
|
||||
};
|
||||
};
|
||||
|
||||
sops.templates."factorio.json".content = builtins.toJSON {
|
||||
@@ -200,7 +203,6 @@
|
||||
|
||||
programs.nix-ld = {
|
||||
enable = true;
|
||||
|
||||
libraries = with pkgs; [
|
||||
zlib
|
||||
zstd
|
||||
@@ -219,6 +221,12 @@
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
qbittorrent
|
||||
ddclient
|
||||
telegram-desktop
|
||||
btop
|
||||
ungoogled-chromium
|
||||
opencode
|
||||
doas
|
||||
lan-mouse
|
||||
stylua
|
||||
@@ -292,7 +300,7 @@
|
||||
'';
|
||||
|
||||
#tls ${config.sops.secrets.zerossl_cert.path} ${config.sops.secrets.zerossl_private_key.path}
|
||||
virtualHosts."centraldogma.dedyn.io:".extraConfig = ''
|
||||
virtualHosts."centraldogma.site:".extraConfig = ''
|
||||
|
||||
root * /srv/root/
|
||||
file_server
|
||||
@@ -435,6 +443,19 @@
|
||||
services.radarr = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.ddclient = {
|
||||
enable = true;
|
||||
protocol = "namecheap";
|
||||
server = "dynamicdns.park-your-domain.com";
|
||||
ssl = true;
|
||||
username = "centraldogma.site";
|
||||
domains = ["@" "www"];
|
||||
usev4 = "webv4, webv4=ipify-ipv4";
|
||||
passwordFile = config.sops.secrets."namecheap/ddyn_password".path;
|
||||
interval = "5mins";
|
||||
};
|
||||
|
||||
services.sonarr = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user