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-manager.users.buffet = {
home.sessionVariables.NIXOS_OZONE_WL = "1";
programs.chromium = { programs.chromium = {
enable = true; enable = true;
extensions = [ extensions = [

View file

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