VR: Difference between revisions
FalsePattern (talk | contribs) →SteamVR: SteamVR: Added bubblewrap capabilities security restriction bypass guide as an alternative for patching the amdgpu driver Tags: Mobile edit Mobile web edit |
FalsePattern (talk | contribs) →Patching bubblewrap to allow capabilities: code snippet tidy Tags: Mobile edit Mobile web edit |
||
| Line 256: | Line 256: | ||
}); | }); | ||
in { | in { | ||
enable = true; | |||
package = pkgs.steam.override { | |||
buildFHSEnv = (args: ((pkgs.buildFHSEnv.override { | |||
bubblewrap = patchedBwrap; | |||
}) (args // { | |||
extraBwrapArgs = (args.extraBwrapArgs or []) ++ [ "--cap-add ALL" ]; | |||
}))); | |||
}; | }; | ||
} | }; | ||
}} | }} | ||
{{file|/etc/nixos/bwrap.patch|diff|3=diff --git a/bubblewrap.c b/bubblewrap.c | {{file|/etc/nixos/bwrap.patch|diff|3=diff --git a/bubblewrap.c b/bubblewrap.c | ||