3 ms·
How are you handling the read only root folder with nix?
by mixmastamyk 5y ago
How are you handling the read only root folder with nix?
- pxc 5y agoYou mean for installation on macOS? For current versions of Nix and macOS, you just invoke the installer with an additional command-line flag at installation time, per the manual[1]: sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume I don't remember whether I actually did this on my system. I think I manually created an additional volume for /nix, but encrypted it. That approach is also now described in the manual, should you prefer it.[2] (Unencrypted should be fine anyway, as the Nix store is designed/assumed to be public (world-readable). Packages and tools in the ecosystem never put secrets there.) — 1: https://nixos.org/manual/nix/stable/#sect-macos-installation https://nixos.org/manual/nix/stable/#sect-macos-installation 2: https://nixos.org/manual/nix/stable/#sect-macos-installation-encrypted-volume https://nixos.org/manual/nix/stable/#sect-macos-installation...
- mixmastamyk 5y agoThanks. The first and last option seem to be the same, no?