fix chromium for now
This commit is contained in:
parent
7a9aad367e
commit
54bc0f49a8
@ -1,10 +1,6 @@
|
||||
{
|
||||
description = "A highly structured configuration database.";
|
||||
|
||||
nixConfig.extra-experimental-features = "nix-command flakes ca-references";
|
||||
nixConfig.extra-substituters = "https://nrdxp.cachix.org https://nix-community.cachix.org";
|
||||
nixConfig.extra-trusted-public-keys = "nrdxp.cachix.org-1:Fc5PSqY2Jm1TrWfm88l6cvGWwz3s93c6IOifQWnhNW4= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=";
|
||||
|
||||
inputs =
|
||||
{
|
||||
nixos.url = "nixpkgs/master";
|
||||
|
@ -98,12 +98,12 @@ in
|
||||
chromiumWayland =
|
||||
let
|
||||
flags = [
|
||||
"--enable-vulkan"
|
||||
"--flag-switches-begin"
|
||||
"--enable-features=UseOzonePlatform,WebRTCPipeWireCapturer,IgnoreGPUBlocklist"
|
||||
"--flag-switches-end"
|
||||
#"--enable-vulkan"
|
||||
#"--flag-switches-begin"
|
||||
"--enable-features=UseOzonePlatform"
|
||||
#"--flag-switches-end"
|
||||
"--ozone-platform=wayland"
|
||||
"--enable-webrtc-pipewire-capturer"
|
||||
#"--enable-webrtc-pipewire-capturer"
|
||||
"--ignore-gpu-blocklist"
|
||||
"--enable-gpu-rasterization"
|
||||
"--enable-zero-copy"
|
||||
@ -179,10 +179,6 @@ in
|
||||
ln -s ${chromiumWayland}/bin/${name} $out/bin
|
||||
ln -s ${desktop}/share $out/share
|
||||
'';
|
||||
fixupPhase = ''
|
||||
wrapProgram $out/bin/${name} \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath (with pkgs; [ vulkan-loader vulkan-extension-layer libGL ])}
|
||||
'';
|
||||
};
|
||||
|
||||
colorSchemeLight = {
|
||||
|
Loading…
Reference in New Issue
Block a user