fix chromium for now

This commit is contained in:
dusk 2021-07-24 22:59:31 +03:00
parent 7a9aad367e
commit 54bc0f49a8
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
2 changed files with 5 additions and 13 deletions

View File

@ -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";

View File

@ -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 = {