mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
nix: Remove readOnlyStore option as it has no effect
This being under `nix` in upstream is misleading as it is only used in the NixOS boot stage, not as configuration for the Nix daemon.
This commit is contained in:
parent
4a7da05c1e
commit
591446ca94
1 changed files with 1 additions and 11 deletions
|
@ -144,6 +144,7 @@ in
|
|||
(mkRemovedOptionModule [ "nix" "daemonCPUSchedPolicy" ] (altOption "nix.daemonProcessType"))
|
||||
(mkRemovedOptionModule [ "nix" "daemonIOSchedClass" ] (altOption "nix.daemonProcessType"))
|
||||
(mkRemovedOptionModule [ "nix" "daemonIOSchedPriority" ] (altOption "nix.daemonIOLowPriority"))
|
||||
(mkRemovedOptionModule [ "nix" "readOnlyStore" ] "No `nix-darwin` equivalent to this NixOS option.")
|
||||
|
||||
# Option changes in `nix-darwin`
|
||||
(mkRemovedOptionModule [ "nix" "profile" ] "Use `nix.package` instead.")
|
||||
|
@ -375,17 +376,6 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
readOnlyStore = mkOption {
|
||||
type = types.bool;
|
||||
default = true;
|
||||
description = lib.mdDoc ''
|
||||
If set, Nix will enforce the immutability of the Nix store
|
||||
by making {file}`/nix/store` a read-only bind
|
||||
mount. Nix will automatically make the store writable when
|
||||
needed.
|
||||
'';
|
||||
};
|
||||
|
||||
# Definition differs substantially from NixOS module
|
||||
nixPath = mkOption {
|
||||
type = nixPathType;
|
||||
|
|
Loading…
Reference in a new issue