summaryrefslogtreecommitdiff
path: root/nixos/modules/homelab/core/caddy.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/homelab/core/caddy.nix')
-rw-r--r--nixos/modules/homelab/core/caddy.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/homelab/core/caddy.nix b/nixos/modules/homelab/core/caddy.nix
index 5904388..b6b8fa3 100644
--- a/nixos/modules/homelab/core/caddy.nix
+++ b/nixos/modules/homelab/core/caddy.nix
@@ -9,8 +9,8 @@ in {
enable = true;
email = "culsans@vivaldi.net";
virtualHosts = {
- "culsans.site".extraConfig = ''
- root * /srv/www/culsans.site
+ ${config.networking.domain}.extraConfig = ''
+ root * /srv/www/${config.networking.domain}
file_server
'';
};