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 = { programs.chromium = {
enable = true; enable = true;
extensions = [ extensions = [
@ -13,7 +7,7 @@ in {
{id = "nngceckbapebfimnlniiiahkandclblb";} # Bitwarden {id = "nngceckbapebfimnlniiiahkandclblb";} # Bitwarden
{id = "dphilobhebphkdjbpfohgikllaljmgbn";} # Simplelogin {id = "dphilobhebphkdjbpfohgikllaljmgbn";} # Simplelogin
]; ];
commandLineArgs = lib.mkIf cfg.enable [ commandLineArgs = [
"--enable-features=UseOzonePlatform" "--enable-features=UseOzonePlatform"
"--ozone-platform=wayland" "--ozone-platform=wayland"
]; ];