add cloudflare-dyndns domains for flame

This commit is contained in:
Noah Masur 2024-03-30 15:41:18 +00:00
parent 5cb7b87e74
commit f757e4a894
No known key found for this signature in database
11 changed files with 33 additions and 0 deletions

View File

@ -147,6 +147,9 @@ in {
} }
]; ];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.download ];
# Enable Prometheus exporters # Enable Prometheus exporters
systemd.services = lib.mapAttrs' (name: attrs: { systemd.services = lib.mapAttrs' (name: attrs: {
name = "prometheus-${name}-exporter"; name = "prometheus-${name}-exporter";

View File

@ -48,6 +48,9 @@ in {
}]; }];
}]; }];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.books ];
# Grant user access to Calibre directories # Grant user access to Calibre directories
users.users.${config.user}.extraGroups = [ "calibre-web" ]; users.users.${config.user}.extraGroups = [ "calibre-web" ];

View File

@ -79,6 +79,9 @@ in {
} }
]; ];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.git ];
# Scrape the metrics endpoint for Prometheus. # Scrape the metrics endpoint for Prometheus.
prometheus.scrapeTargets = [ prometheus.scrapeTargets = [
"127.0.0.1:${ "127.0.0.1:${

View File

@ -2330,6 +2330,9 @@ in {
}]; }];
}]; }];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.metrics ];
}; };
} }

View File

@ -56,6 +56,9 @@
}]; }];
}]; }];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.influxdb ];
}; };
} }

View File

@ -27,6 +27,9 @@
}]; }];
}]; }];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.irc ];
}; };
} }

View File

@ -30,6 +30,9 @@
} }
]; ];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.stream ];
# Create videos directory, allow anyone in Jellyfin group to manage it # Create videos directory, allow anyone in Jellyfin group to manage it
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"d /var/lib/jellyfin 0775 jellyfin media" "d /var/lib/jellyfin 0775 jellyfin media"

View File

@ -148,6 +148,9 @@
terminal = true; terminal = true;
}]; }];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.content ];
# Create credentials file for nextcloud # Create credentials file for nextcloud
secrets.nextcloud = { secrets.nextcloud = {
source = ../../../private/nextcloud.age; source = ../../../private/nextcloud.age;

View File

@ -36,6 +36,9 @@
}]; }];
}]; }];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.paperless ];
secrets.paperless = { secrets.paperless = {
source = ../../../private/prometheus.age; source = ../../../private/prometheus.age;
dest = "${config.secretsDirectory}/paperless"; dest = "${config.secretsDirectory}/paperless";

View File

@ -107,6 +107,9 @@
}]; }];
}]; }];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.prometheus ];
}; };
} }

View File

@ -52,6 +52,9 @@ in {
}]; }];
}]; }];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.secrets ];
## Backup config ## Backup config
# Open to groups, allowing for backups # Open to groups, allowing for backups