mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-16 21:38:21 +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" "daemonCPUSchedPolicy" ] (altOption "nix.daemonProcessType"))
|
||||||
(mkRemovedOptionModule [ "nix" "daemonIOSchedClass" ] (altOption "nix.daemonProcessType"))
|
(mkRemovedOptionModule [ "nix" "daemonIOSchedClass" ] (altOption "nix.daemonProcessType"))
|
||||||
(mkRemovedOptionModule [ "nix" "daemonIOSchedPriority" ] (altOption "nix.daemonIOLowPriority"))
|
(mkRemovedOptionModule [ "nix" "daemonIOSchedPriority" ] (altOption "nix.daemonIOLowPriority"))
|
||||||
|
(mkRemovedOptionModule [ "nix" "readOnlyStore" ] "No `nix-darwin` equivalent to this NixOS option.")
|
||||||
|
|
||||||
# Option changes in `nix-darwin`
|
# Option changes in `nix-darwin`
|
||||||
(mkRemovedOptionModule [ "nix" "profile" ] "Use `nix.package` instead.")
|
(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
|
# Definition differs substantially from NixOS module
|
||||||
nixPath = mkOption {
|
nixPath = mkOption {
|
||||||
type = nixPathType;
|
type = nixPathType;
|
||||||
|
|
Loading…
Add table
Reference in a new issue