Fix chromium on wayland
This commit is contained in:
parent
2945f5d00d
commit
7296e27400
2 changed files with 3 additions and 3 deletions
|
@ -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 = [
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue