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 = [
../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 = {

View file

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