boot.readOnlyNixStore
If set, NixOS will enforce the immutability of the Nix store by making /nix/store a read-only bind mount. Nix will automatically make the store writable when needed.
- Type
boolean- Default
true- Declared
- <nixpkgs/nixos/modules/system/boot/stage-2.nix>