In my previous nixos server install, the answer suggested in this article
like adding systemd.services.nginx.serviceConfig.ProtectHome = "read-only"; to my config worked for me, but isn't working on my current install.
- system: `"x86_64-linux"`
- host os: `Linux 5.15.59, NixOS, 22.11 (Raccoon), 22.11pre398667.39d7f929fbc`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.10.3`
- channels(root): `"nixos-22.11pre398667.39d7f929fbc"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
I want to host files placed from my user's ~/ so I could easly update/edit files without root privileges.