diff --git a/bert/services/http/index.nix b/bert/services/http/index.nix index c294d53..6b0430a 100644 --- a/bert/services/http/index.nix +++ b/bert/services/http/index.nix @@ -4,6 +4,7 @@ ./home.chandlerswift.com.nix ./maps.chandlerswift.com.nix ./stjohnscccc.org.nix + ./swiftgang.net.nix ]; services.caddy = { diff --git a/bert/services/http/swiftgang.net.nix b/bert/services/http/swiftgang.net.nix new file mode 100644 index 0000000..d2d0756 --- /dev/null +++ b/bert/services/http/swiftgang.net.nix @@ -0,0 +1,13 @@ + +{ + services.caddy.virtualHosts."swiftgang.net".extraConfig = '' + encode zstd gzip + file_server + root * /srv/swiftgang.net + ''; + systemd.tmpfiles.settings."10-swiftgang-net" = { + "/srv/swiftgang.net" = { + d = {}; + }; + }; +}