diff --git a/bert/services/http/index.nix b/bert/services/http/index.nix index d5148d8..7ed5e34 100644 --- a/bert/services/http/index.nix +++ b/bert/services/http/index.nix @@ -22,6 +22,7 @@ ./social.chandlerswift.com.nix ./stjohnscccc.com.nix ./stjohnscccc.org.nix + ./svsindustries.org.nix ./swiftgang.net.nix ./troop352.us.nix ./whereis.chandlerswift.com.nix diff --git a/bert/services/http/photos.chandlerswift.com.nix b/bert/services/http/photos.chandlerswift.com.nix index 844f309..9429147 100644 --- a/bert/services/http/photos.chandlerswift.com.nix +++ b/bert/services/http/photos.chandlerswift.com.nix @@ -1,5 +1,6 @@ {config, ...}: { services.immich.enable = true; + services.immich.package = (import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/328115af930e90649f97a3675a6b88d87c7e6920.tar.gz") {}).immich; services.immich.mediaLocation = "/srv/immich"; services.caddy.virtualHosts."photos.chandlerswift.com".extraConfig = '' diff --git a/bert/services/http/svsindustries.org.nix b/bert/services/http/svsindustries.org.nix new file mode 100644 index 0000000..d9ad3c9 --- /dev/null +++ b/bert/services/http/svsindustries.org.nix @@ -0,0 +1,20 @@ + +{ + services.caddy.virtualHosts."svsindustries.org" = { + # serverAliases = ["*.svsindustries.org"]; + extraConfig = '' + encode zstd gzip + file_server + root * /srv/www/svsindustries.org + + handle_errors { + respond "{err.status_code} {err.status_text}" + } + ''; + }; + systemd.tmpfiles.settings."10-svsindustries-org" = { + "/srv/www/svsindustries.org" = { + d = {}; + }; + }; +}