From a86dd2d5f17f12ff92b87df1c47103b9a416149a Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Fri, 2 Jun 2023 12:27:40 +0530 Subject: [PATCH] rico2: enable caddy --- hosts/rico2/services/caddy.nix | 8 ++++++++ hosts/rico2/services/default.nix | 2 +- secrets.nix | Bin 1360 -> 1421 bytes 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 hosts/rico2/services/caddy.nix diff --git a/hosts/rico2/services/caddy.nix b/hosts/rico2/services/caddy.nix new file mode 100644 index 0000000..190f3c3 --- /dev/null +++ b/hosts/rico2/services/caddy.nix @@ -0,0 +1,8 @@ +{ ... }: let + caddy_config = (import ../../../secrets.nix).caddy_config; +in { + services.caddy = { + enable = true; + email = caddy_config.email; + }; +} diff --git a/hosts/rico2/services/default.nix b/hosts/rico2/services/default.nix index b0d13d0..34a84ff 100644 --- a/hosts/rico2/services/default.nix +++ b/hosts/rico2/services/default.nix @@ -1,4 +1,4 @@ {...}: { - imports = [./frpc.nix]; + imports = [./caddy.nix ./frpc.nix]; services.openssh.enable = true; } diff --git a/secrets.nix b/secrets.nix index 070ae85e90a565f2698c55c2c374a2d2aae32003..4ac9c6f6511c9ec4c738b88e5ba8b4774632fe82 100644 GIT binary patch literal 1421 zcmV;81#8tY_?Kx)NBiam#$*PSNt%G7*a94h02@fI1(}_BV=>KTt zb?8S3F87cWi~C%*_n>ttBKnLMBxF(UwX0D1-U@k;v^ssx-Qr8;nY@LI{hwJwNxf)bxqAhI=x3&>5}TEXoCR= z8xf$ne8}*E=YTU`uF6=jT4m}tYAmb@bV<;$RH38JyF)M8s)Kl+#?Qfr%%u$MCV~2; zSQREYU&-!rfxN$X(8gg-v<1&0liovH8W?*2t-#7r%gZD7+vrQ8C>saX^2P%%J4(Dp z5FI!NOyld3e%ZgQic_H^p;`)fX$LXX*2z+OWBfORk6v5QAT8Lg9M~aE{A)0S5gC6y z8po4lyVjxgneRE{Y&xz_U`pco{@)p`l}bx#mlDJofZAAl6nt4+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