From fd62f221db9eb59938166147bc923d6059553a5c Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 24 Jan 2026 06:20:37 +0100 Subject: fix(tente): let me replace my website content Deleting a directory requires write permissions on its parent. I have write permissions on /srv/www/push-f.com but not /srv/www so I'm moving the content to /srv/www/push-f.com/current. (Also better for atomic deployments via symlinks since the symlink target can reside in the same directory.) --- nixos/hosts/tente/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/hosts/tente/default.nix b/nixos/hosts/tente/default.nix index da998ef..8297fc9 100644 --- a/nixos/hosts/tente/default.nix +++ b/nixos/hosts/tente/default.nix @@ -151,7 +151,7 @@ in web-personal = { domain = baseDomain; - dir = "/srv/www/${baseDomain}"; # not managed via Nix + dir = "/srv/www/${baseDomain}/current"; # not managed via Nix matrixApiDomain = config.matrix.apiDomain; }; -- cgit v1.3.1