VR: Difference between revisions

SteamVR: SteamVR: Added bubblewrap capabilities security restriction bypass guide as an alternative for patching the amdgpu driver
Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
Line 256: Line 256:
   });
   });
in {
in {
    enable = true;
  enable = true;
    package = pkgs.steam.override {
  package = pkgs.steam.override {
      buildFHSEnv = (args: ((pkgs.buildFHSEnv.override {
    buildFHSEnv = (args: ((pkgs.buildFHSEnv.override {
        bubblewrap = patchedBwrap;
      bubblewrap = patchedBwrap;
      }) (args // {
    }) (args // {
        extraBwrapArgs = (args.extraBwrapArgs or []) ++ [ "--cap-add ALL" ];
      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