From f7ddf5efe854105134801960b459295256ae0584 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 7 Jul 2024 00:25:34 +0530 Subject: [PATCH] rico0: setup caddy --- hosts/rico0/services/caddy.nix | 7 +++++++ hosts/rico0/services/default.nix | 1 + 2 files changed, 8 insertions(+) create mode 100644 hosts/rico0/services/caddy.nix diff --git a/hosts/rico0/services/caddy.nix b/hosts/rico0/services/caddy.nix new file mode 100644 index 0000000..9276aec --- /dev/null +++ b/hosts/rico0/services/caddy.nix @@ -0,0 +1,7 @@ +_: { + services.caddy = { + enable = true; + acmeCA = "https://acme-v02.api.letsencrypt.org/directory"; + email = "admin@acomputer.lol"; + }; +} diff --git a/hosts/rico0/services/default.nix b/hosts/rico0/services/default.nix index f8de8de..f8f22a6 100644 --- a/hosts/rico0/services/default.nix +++ b/hosts/rico0/services/default.nix @@ -1,6 +1,7 @@ _: { imports = [ ./btrfs.nix + ./caddy.nix ./ssh.nix ./apps