commit beedbd35e9646730be7b9a62c7795f4596f18e53
parent 61fa3210cdcd05f106f3645f51c5fa3da0b3c0c8
Author: mtmn <miro@haravara.org>
Date: Sat, 25 Apr 2026 20:38:46 +0200
chore: fix shirts, change isolate
Diffstat:
2 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/modules/mixins/dotfiles/bin/isolate b/modules/mixins/dotfiles/bin/isolate
@@ -54,10 +54,7 @@ if [[ -n "${WAYLAND_DISPLAY:-}" ]]; then
args+=(--setenv WAYLAND_DISPLAY "$WAYLAND_DISPLAY")
fi
-args+=(
- --dir "$HOME/.gnupg"
- --chmod 0700 "$HOME/.gnupg"
-)
+args+=()
# Source extra config (e.g. set by auto-isolate) to allow
# project-specific additions to args
diff --git a/modules/services/static.nix b/modules/services/static.nix
@@ -50,15 +50,17 @@ in {
services.caddy.virtualHosts =
lib.mapAttrs (domain: opt: {
extraConfig =
- ''
- root * /var/lib/haravara/static/${opt.dir}
- file_server
- ''
- + lib.optionalString opt.hasShortener ''
+ lib.optionalString opt.hasShortener ''
handle /s/* {
reverse_proxy localhost:8721
}
''
+ + ''
+ handle {
+ root * /var/lib/haravara/static/${opt.dir}
+ file_server
+ }
+ ''
+ lib.optionalString opt.hasRedirect ''
redir / https://${lib.concatStringsSep "." (lib.drop 1 (lib.splitString "." domain))}
''