wrapper-manager/sandboxing/bubblewrap: enable sharing of entire Nix store by default

This commit is contained in:
Gabriel Arazas 2024-08-06 11:02:42 +08:00
parent 5773481ce0
commit f58675d0f9
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -55,15 +55,9 @@ let
};
in {
enableSharedNixStore = lib.mkEnableOption null // {
default = if isGlobal then false else cfg.enableSharedNixStore;
default = if isGlobal then true else cfg.enableSharedNixStore;
description = ''
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.
:::
'';
};