fix chromium for now
This commit is contained in:
parent
7a9aad367e
commit
54bc0f49a8
@ -1,10 +1,6 @@
|
|||||||
{
|
{
|
||||||
description = "A highly structured configuration database.";
|
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 =
|
inputs =
|
||||||
{
|
{
|
||||||
nixos.url = "nixpkgs/master";
|
nixos.url = "nixpkgs/master";
|
||||||
|
@ -98,12 +98,12 @@ in
|
|||||||
chromiumWayland =
|
chromiumWayland =
|
||||||
let
|
let
|
||||||
flags = [
|
flags = [
|
||||||
"--enable-vulkan"
|
#"--enable-vulkan"
|
||||||
"--flag-switches-begin"
|
#"--flag-switches-begin"
|
||||||
"--enable-features=UseOzonePlatform,WebRTCPipeWireCapturer,IgnoreGPUBlocklist"
|
"--enable-features=UseOzonePlatform"
|
||||||
"--flag-switches-end"
|
#"--flag-switches-end"
|
||||||
"--ozone-platform=wayland"
|
"--ozone-platform=wayland"
|
||||||
"--enable-webrtc-pipewire-capturer"
|
#"--enable-webrtc-pipewire-capturer"
|
||||||
"--ignore-gpu-blocklist"
|
"--ignore-gpu-blocklist"
|
||||||
"--enable-gpu-rasterization"
|
"--enable-gpu-rasterization"
|
||||||
"--enable-zero-copy"
|
"--enable-zero-copy"
|
||||||
@ -179,10 +179,6 @@ in
|
|||||||
ln -s ${chromiumWayland}/bin/${name} $out/bin
|
ln -s ${chromiumWayland}/bin/${name} $out/bin
|
||||||
ln -s ${desktop}/share $out/share
|
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 = {
|
colorSchemeLight = {
|
||||||
|
Loading…
Reference in New Issue
Block a user