From f58675d0f98ecebeccaeb6f832592d946a327f9d Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 6 Aug 2024 11:02:42 +0800 Subject: [PATCH] wrapper-manager/sandboxing/bubblewrap: enable sharing of entire Nix store by default --- .../wrapper-manager/sandboxing/bubblewrap/filesystem.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/wrapper-manager/sandboxing/bubblewrap/filesystem.nix b/modules/wrapper-manager/sandboxing/bubblewrap/filesystem.nix index 093e376d..153c9a62 100644 --- a/modules/wrapper-manager/sandboxing/bubblewrap/filesystem.nix +++ b/modules/wrapper-manager/sandboxing/bubblewrap/filesystem.nix @@ -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. - ::: ''; };