Remove chromium dependence on hyprland package being available
This commit is contained in:
parent
395c47e31f
commit
303ae01f28
|
@ -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"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue