From d43337e12d5ee608c9d4f7f1d67c8a39dc3d127e Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 9 Jun 2023 18:51:28 +0100 Subject: [PATCH] Remove wayland check from chromium, add to Northstar --- home/Northstar/xenia.nix | 2 +- home/gui/chromium.nix | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/home/Northstar/xenia.nix b/home/Northstar/xenia.nix index 9afb0d13..bb446e8d 100644 --- a/home/Northstar/xenia.nix +++ b/home/Northstar/xenia.nix @@ -2,6 +2,7 @@ imports = [ ../env ../tui + ../gui/chromium.nix ../gui/foot.nix ../desktop/sway.nix ../ssh/personal.nix @@ -14,7 +15,6 @@ programs.bash.bashrcExtra = '' source $HOME/.nix-profile/etc/profile.d/nix.sh ''; - programs.firefox.enable = true; wayland.windowManager.sway = { config = { diff --git a/home/gui/chromium.nix b/home/gui/chromium.nix index 9c74e790..2864780e 100644 --- a/home/gui/chromium.nix +++ b/home/gui/chromium.nix @@ -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" ];