Remove wayland check from chromium, add to Northstar
This commit is contained in:
parent
395c47e31f
commit
d43337e12d
|
@ -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 = {
|
||||||
|
|
|
@ -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