cargo,rust-analyzer: sandbox with bunpen
This commit is contained in:
@@ -440,7 +440,7 @@ in
|
||||
"cacert.unbundled".sandbox.enable = false; #< data only
|
||||
|
||||
cargo.persist.byStore.plaintext = [ ".cargo" ];
|
||||
cargo.sandbox.method = "bwrap"; # probably this is too restrictive; i'm sandboxing it for rust-analyzer / neovim LSP
|
||||
cargo.sandbox.method = "bunpen"; # probably this is too restrictive; i'm sandboxing it for rust-analyzer / neovim LSP
|
||||
cargo.sandbox.whitelistPwd = true;
|
||||
cargo.sandbox.net = "all";
|
||||
cargo.sandbox.extraHomePaths = [ "dev" "ref" ];
|
||||
@@ -1064,7 +1064,7 @@ in
|
||||
rsync.sandbox.net = "clearnet";
|
||||
rsync.sandbox.autodetectCliPaths = "existingOrParent";
|
||||
|
||||
rust-analyzer.sandbox.method = "bwrap";
|
||||
rust-analyzer.sandbox.method = "bunpen";
|
||||
rust-analyzer.sandbox.whitelistPwd = true;
|
||||
rust-analyzer.suggestedPrograms = [
|
||||
"cargo"
|
||||
|
Reference in New Issue
Block a user