feat: change from namecheap to cloudflare, setup tls with acme, setup vaultwarden

This commit is contained in:
Jacob Bachmann 2024-09-10 00:32:58 +02:00
parent 6b55345b66
commit fd794698d3
No known key found for this signature in database
GPG key ID: 7753026D577922A6
12 changed files with 118 additions and 23 deletions

View file

@ -1,7 +1,7 @@
{ config, ... }:
{
age.secrets.passwords-ddclient-namecheap = {
file = ../../../secrets/passwords/ddclient/namecheap.age;
age.secrets.passwords-ddclient-cloudflare = {
file = ../../../secrets/passwords/ddclient/cloudflare.age;
};
services.ddclient = {
@ -11,11 +11,10 @@
usev4=webv4, webv4=ifconfig.me
usev6=disabled
'';
protocol = "namecheap";
server = "dynamicdns.park-your-domain.com";
username = "dryb.org";
passwordFile = config.age.secrets.passwords-ddclient-namecheap.path;
domains = [ "vpn" ];
protocol = "cloudflare";
zone = "dryb.org";
passwordFile = config.age.secrets.passwords-ddclient-cloudflare.path;
domains = [ "vpn.dryb.org" ];
interval = "10min";
};
}