Enable wayland support in chromium based apps

This commit is contained in:
Zuckerberg 2024-07-17 21:42:43 -06:00
parent 2527b614e9
commit d269d2e5a0
2 changed files with 5 additions and 2 deletions

View File

@ -41,7 +41,7 @@ in
"SpellcheckLanguage" = [ "en-US" ];
};
defaultSearchProviderSuggestURL = null;
defaultSearchProviderSearchURL = " https://duckduckgo.com/?q={searchTerms}&kp=-1&kl=us-en";
defaultSearchProviderSearchURL = "https://duckduckgo.com/?q={searchTerms}&kp=-1&kl=us-en";
};
# hardware accelerated video playback (on intel)
@ -52,7 +52,7 @@ in
# ungoogled = true;
# --enable-native-gpu-memory-buffers # fails on AMD APU
# --enable-webrtc-vp9-support
commandLineArgs = "--use-vulkan --ozone-platform-hint=auto";
commandLineArgs = "--use-vulkan";
};
};
# todo vulkan in chrome

View File

@ -89,5 +89,8 @@ in
# for luks onlock over tor
services.tor.enable = true;
services.tor.client.enable = true;
# Enable wayland support in various chromium based applications
environment.sessionVariables.NIXOS_OZONE_WL = "1";
};
}