fix: chromium use wayland

This commit is contained in:
Yingjie Wang 2024-05-24 03:29:17 -04:00
parent 67598a40db
commit 60e9df4b82

View File

@ -2,6 +2,7 @@
nixpkgs.config = { nixpkgs.config = {
allowUnfree = true; allowUnfree = true;
permittedInsecurePackages = ["python-2.7.18.8" "electron-25.9.0"]; permittedInsecurePackages = ["python-2.7.18.8" "electron-25.9.0"];
chromium.commandLineArgs = "--ozone-platform=wayland";
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [