Remove chromium dependence on hyprland package being available

This commit is contained in:
Evie Litherland-Smith 2023-06-12 14:24:13 +01:00
parent 395c47e31f
commit 303ae01f28

View file

@ -1,10 +1,4 @@
{
config,
lib,
...
}: let
cfg = config.wayland.windowManager.hyprland;
in {
{...}: {
programs.chromium = {
enable = true;
extensions = [
@ -13,7 +7,7 @@ in {
{id = "nngceckbapebfimnlniiiahkandclblb";} # Bitwarden
{id = "dphilobhebphkdjbpfohgikllaljmgbn";} # Simplelogin
];
commandLineArgs = lib.mkIf cfg.enable [
commandLineArgs = [
"--enable-features=UseOzonePlatform"
"--ozone-platform=wayland"
];