diff options
| author | Martin Fischer <martin@push-f.com> | 2026-01-24 06:20:37 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-01-24 06:27:35 +0100 |
| commit | fd62f221db9eb59938166147bc923d6059553a5c (patch) | |
| tree | efc0fb6c5d8b42727e19138a98969a067141b887 /nixos | |
| parent | bbac0dbabba5e4afcf0b4e9a9544f2bec2c58860 (diff) | |
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.)
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/hosts/tente/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; |
