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 = {
|
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"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue