mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 19:42:24 +00:00
Compare commits
No commits in common. "f757e4a894afaf07f20761815387c35d49881dd5" and "a853352a5792e92a42e22facfe3548f72d7acc3c" have entirely different histories.
f757e4a894
...
a853352a57
@ -147,9 +147,6 @@ in {
|
||||
}
|
||||
];
|
||||
|
||||
# Configure Cloudflare DNS to point to this machine
|
||||
services.cloudflare-dyndns.domains = [ config.hostnames.download ];
|
||||
|
||||
# Enable Prometheus exporters
|
||||
systemd.services = lib.mapAttrs' (name: attrs: {
|
||||
name = "prometheus-${name}-exporter";
|
||||
|
@ -48,9 +48,6 @@ in {
|
||||
}];
|
||||
}];
|
||||
|
||||
# Configure Cloudflare DNS to point to this machine
|
||||
services.cloudflare-dyndns.domains = [ config.hostnames.books ];
|
||||
|
||||
# Grant user access to Calibre directories
|
||||
users.users.${config.user}.extraGroups = [ "calibre-web" ];
|
||||
|
||||
|
@ -78,6 +78,10 @@ in {
|
||||
owner = "caddy";
|
||||
group = "caddy";
|
||||
};
|
||||
systemd.services.cloudflare-api-secret.postStop = ''
|
||||
/run/current-system/sw/bin/systemctl restart caddy.service
|
||||
/run/current-system/sw/bin/systemctl restart cloudflare-dyndns.service
|
||||
'';
|
||||
|
||||
# Wait for secret to exist
|
||||
systemd.services.caddy = {
|
||||
|
@ -79,9 +79,6 @@ in {
|
||||
}
|
||||
];
|
||||
|
||||
# Configure Cloudflare DNS to point to this machine
|
||||
services.cloudflare-dyndns.domains = [ config.hostnames.git ];
|
||||
|
||||
# Scrape the metrics endpoint for Prometheus.
|
||||
prometheus.scrapeTargets = [
|
||||
"127.0.0.1:${
|
||||
|
@ -2330,9 +2330,6 @@ in {
|
||||
}];
|
||||
}];
|
||||
|
||||
# Configure Cloudflare DNS to point to this machine
|
||||
services.cloudflare-dyndns.domains = [ config.hostnames.metrics ];
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -56,9 +56,6 @@
|
||||
}];
|
||||
}];
|
||||
|
||||
# Configure Cloudflare DNS to point to this machine
|
||||
services.cloudflare-dyndns.domains = [ config.hostnames.influxdb ];
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -27,9 +27,6 @@
|
||||
}];
|
||||
}];
|
||||
|
||||
# Configure Cloudflare DNS to point to this machine
|
||||
services.cloudflare-dyndns.domains = [ config.hostnames.irc ];
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -30,9 +30,6 @@
|
||||
}
|
||||
];
|
||||
|
||||
# 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
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/lib/jellyfin 0775 jellyfin media"
|
||||
|
@ -148,9 +148,6 @@
|
||||
terminal = true;
|
||||
}];
|
||||
|
||||
# Configure Cloudflare DNS to point to this machine
|
||||
services.cloudflare-dyndns.domains = [ config.hostnames.content ];
|
||||
|
||||
# Create credentials file for nextcloud
|
||||
secrets.nextcloud = {
|
||||
source = ../../../private/nextcloud.age;
|
||||
|
@ -36,9 +36,6 @@
|
||||
}];
|
||||
}];
|
||||
|
||||
# Configure Cloudflare DNS to point to this machine
|
||||
services.cloudflare-dyndns.domains = [ config.hostnames.paperless ];
|
||||
|
||||
secrets.paperless = {
|
||||
source = ../../../private/prometheus.age;
|
||||
dest = "${config.secretsDirectory}/paperless";
|
||||
|
@ -107,9 +107,6 @@
|
||||
}];
|
||||
}];
|
||||
|
||||
# Configure Cloudflare DNS to point to this machine
|
||||
services.cloudflare-dyndns.domains = [ config.hostnames.prometheus ];
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -52,9 +52,6 @@ in {
|
||||
}];
|
||||
}];
|
||||
|
||||
# Configure Cloudflare DNS to point to this machine
|
||||
services.cloudflare-dyndns.domains = [ config.hostnames.secrets ];
|
||||
|
||||
## Backup config
|
||||
|
||||
# Open to groups, allowing for backups
|
||||
|
Loading…
x
Reference in New Issue
Block a user