programs: gdisk: fix sandboxing

This commit is contained in:
Colin 2024-02-17 15:26:16 +00:00
parent 799cd4373f
commit d3e4bdfcd5

View File

@ -418,12 +418,12 @@ in
gdb.sandbox.wrapperType = "wrappedDerivation";
gdb.sandbox.autodetectCliPaths = true;
gdisk.sandbox.method = "landlock";
gdisk.sandbox.wrapperType = "wrappedDerivation";
gdisk.sandbox.extraPaths = [
gptfdisk.sandbox.method = "landlock";
gptfdisk.sandbox.wrapperType = "wrappedDerivation";
gptfdisk.sandbox.extraPaths = [
"/dev"
];
gdisk.sandbox.autodetectCliPaths = "existing"; #< sometimes you'll use gdisk on a device file.
gptfdisk.sandbox.autodetectCliPaths = "existing"; #< sometimes you'll use gdisk on a device file.
# MS GitHub stores auth token in .config
# TODO: we can populate gh's stuff statically; it even lets us use the same oauth across machines