diff --git a/bert/services/http/chandlerswift.com.nix b/bert/services/http/chandlerswift.com.nix new file mode 100644 index 0000000..0008ea2 --- /dev/null +++ b/bert/services/http/chandlerswift.com.nix @@ -0,0 +1,19 @@ + +{ + services.caddy.virtualHosts."chandlerswift.com".extraConfig = '' + encode zstd gzip + file_server + root * /srv/www/chandlerswift.com + # hide .git # ??? + + handle_errors { + respond "{err.status_code} {err.status_text}" + } + ''; + services.caddy.virtualHosts."www.chandlerswift.com".extraConfig = "redir https://chandlerswift.com{uri}"; + systemd.tmpfiles.settings."10-chandlerswift-com" = { + "/srv/www/chandlerswift.com" = { + d = {}; + }; + }; +} diff --git a/bert/services/http/index.nix b/bert/services/http/index.nix index d0fba6f..3e4f574 100644 --- a/bert/services/http/index.nix +++ b/bert/services/http/index.nix @@ -2,6 +2,7 @@ imports = [ ./0hats.com.nix ./bannergen.chandlerswift.com.nix + ./chandlerswift.com.nix ./files.chandlerswift.com.nix ./git.chandlerswift.com.nix ./harborpaperco.com.nix diff --git a/oscar/configuration.nix b/oscar/configuration.nix index 0271c51..0c51647 100644 --- a/oscar/configuration.nix +++ b/oscar/configuration.nix @@ -189,7 +189,10 @@ programs.thunderbird.enable = true; - programs.bash.enable = true; + programs.bash = { + enable = true; + historyControl = [ "ignoredups" "ignorespace" ]; + }; programs.direnv = { enable = true;