Fix chromium on wayland

This commit is contained in:
buffet 2022-08-23 20:53:09 +00:00
parent 2945f5d00d
commit 7296e27400
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
_: {
nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
home-manager.users.buffet = {
home.sessionVariables.NIXOS_OZONE_WL = "1";
programs.chromium = {
enable = true;
extensions = [

View file

@ -12,7 +12,7 @@
xwayland = false;
config = let
browser = "firefox";
browser = "chromium";
mod = "Mod4";
terminal = "alacritty";
theme = import ../theme.nix;