nix-index: sandbox with bunpen

This commit is contained in:
2024-09-11 19:20:13 +00:00
parent 954fedd41b
commit f6493122bb

View File

@@ -1,8 +1,8 @@
{ config, lib, ... }: { ... }:
{ {
# provides `nix-locate`, backed by the manually run `nix-index` # provides `nix-locate`, backed by the manually run `nix-index`
sane.programs.nix-index = { sane.programs.nix-index = {
sandbox.method = "bwrap"; sandbox.method = "bunpen";
sandbox.net = "clearnet"; sandbox.net = "clearnet";
sandbox.extraPaths = [ sandbox.extraPaths = [
"/nix" "/nix"