mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
home-manager: Add chromium config
Fixes issues encountered with xwayland + ironbar and fcitx5 not working with the wayland version. See: https://wiki.archlinux.org/title/Chromium#Native_Wayland_support
This commit is contained in:
parent
7a95a8c4fd
commit
61b5a5dd31
17
home/chromium.nix
Normal file
17
home/chromium.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (pkgs) ungoogled-chromium;
|
||||
in
|
||||
{
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
package = ungoogled-chromium;
|
||||
|
||||
commandLineArgs = [
|
||||
"--ozone-platform=wayland"
|
||||
"--enable-wayland-ime"
|
||||
"--extension-mime-request-handling=always-prompt-for-install"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user