mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-25 00:19:12 +00:00
wrapper-manager/sandboxing/bubblewrap: enable sharing of entire Nix store by default
This commit is contained in:
parent
5773481ce0
commit
f58675d0f9
@ -55,15 +55,9 @@ let
|
|||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
enableSharedNixStore = lib.mkEnableOption null // {
|
enableSharedNixStore = lib.mkEnableOption null // {
|
||||||
default = if isGlobal then false else cfg.enableSharedNixStore;
|
default = if isGlobal then true else cfg.enableSharedNixStore;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to share the entire Nix store directory.
|
Whether to share the entire Nix store directory.
|
||||||
|
|
||||||
::: {.caution}
|
|
||||||
Typically, this is not recommended especially for Bubblewrap
|
|
||||||
environments. If you want to bind some of the items from the Nix store,
|
|
||||||
it is recommended to use {option}`sandboxing.bubblewrap.sharedNixPaths` instead.
|
|
||||||
:::
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user