mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-04 23:51:11 +00:00
fix flame settings
This commit is contained in:
parent
59e67fb406
commit
12604f3109
@ -68,11 +68,7 @@ in
|
|||||||
# Tell Caddy to use Cloudflare DNS for ACME challenge validation
|
# Tell Caddy to use Cloudflare DNS for ACME challenge validation
|
||||||
services.caddy.package = pkgs.caddy.withPlugins {
|
services.caddy.package = pkgs.caddy.withPlugins {
|
||||||
plugins = [ "github.com/caddy-dns/cloudflare@v0.0.0-20250228175314-1fb64108d4de" ];
|
plugins = [ "github.com/caddy-dns/cloudflare@v0.0.0-20250228175314-1fb64108d4de" ];
|
||||||
hash =
|
hash = "sha256-YYpsf8HMONR1teMiSymo2y+HrKoxuJMKIea5/NEykGc=";
|
||||||
if pkgs.stdenv.isx86_64 then
|
|
||||||
"sha256-YYpsf8HMONR1teMiSymo2y+HrKoxuJMKIea5/NEykGc="
|
|
||||||
else
|
|
||||||
"sha256-3nvVGW+ZHLxQxc1VCc/oTzCLZPBKgw4mhn+O3IoyiSs=";
|
|
||||||
};
|
};
|
||||||
nmasur.presets.services.caddy.tlsPolicies = [
|
nmasur.presets.services.caddy.tlsPolicies = [
|
||||||
{
|
{
|
||||||
|
@ -94,9 +94,6 @@ in
|
|||||||
secrets.cloudflared = {
|
secrets.cloudflared = {
|
||||||
source = cfg.tunnel.credentialsFile;
|
source = cfg.tunnel.credentialsFile;
|
||||||
dest = "${config.secretsDirectory}/cloudflared";
|
dest = "${config.secretsDirectory}/cloudflared";
|
||||||
owner = "cloudflared";
|
|
||||||
group = "cloudflared";
|
|
||||||
permissions = "0440";
|
|
||||||
};
|
};
|
||||||
systemd.services.cloudflared-secret = {
|
systemd.services.cloudflared-secret = {
|
||||||
requiredBy = [ "cloudflared-tunnel-${cfg.tunnel.id}.service" ];
|
requiredBy = [ "cloudflared-tunnel-${cfg.tunnel.id}.service" ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user