Remove wayland check from chromium, add to Northstar

This commit is contained in:
Evie Litherland-Smith 2023-06-09 18:51:28 +01:00
parent 395c47e31f
commit d43337e12d
2 changed files with 3 additions and 9 deletions

View file

@ -2,6 +2,7 @@
imports = [ imports = [
../env ../env
../tui ../tui
../gui/chromium.nix
../gui/foot.nix ../gui/foot.nix
../desktop/sway.nix ../desktop/sway.nix
../ssh/personal.nix ../ssh/personal.nix
@ -14,7 +15,6 @@
programs.bash.bashrcExtra = '' programs.bash.bashrcExtra = ''
source $HOME/.nix-profile/etc/profile.d/nix.sh source $HOME/.nix-profile/etc/profile.d/nix.sh
''; '';
programs.firefox.enable = true;
wayland.windowManager.sway = { wayland.windowManager.sway = {
config = { config = {

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"
]; ];