Split browser into explicit firefox and chromium

This commit is contained in:
Evie Litherland-Smith 2023-04-19 15:23:29 +01:00
parent 6807a2db35
commit 52b1d96bb6
7 changed files with 10 additions and 6 deletions

View file

@ -4,7 +4,7 @@
./desktop/gtk.nix ./desktop/gtk.nix
./env ./env
./tui ./tui
./gui/browser ./gui/firefox
./gui/kitty.nix ./gui/kitty.nix
]; ];
home.stateVersion = "22.11"; home.stateVersion = "22.11";

View file

@ -4,7 +4,7 @@
./desktop/gtk.nix ./desktop/gtk.nix
./env ./env
./tui ./tui
./gui/browser.nix ./gui/firefox.nix
./gui/cloud.nix ./gui/cloud.nix
./gui/gaming.nix ./gui/gaming.nix
./gui/kitty.nix ./gui/kitty.nix

View file

@ -3,7 +3,7 @@
imports = [ imports = [
../env ../env
../tui ../tui
../gui/browser.nix ../gui/chromium-wayland.nix
../gui/neovide.nix ../gui/neovide.nix
../gui/libreoffice.nix ../gui/libreoffice.nix
../gui/cloud.nix ../gui/cloud.nix

View file

@ -0,0 +1,5 @@
{ ... }:
{
imports = [ ./common.nix ];
programs.chromium.enable = true;
}

View file

@ -1,7 +1,6 @@
{ ... }: { ... }:
{ {
imports = [ ./browser.nix ]; imports = [ ./chromium.nix ];
programs.chromium.enable = true;
programs.chromium.commandLineArgs = [ programs.chromium.commandLineArgs = [
"--enable-features=UseOzonePlatform" "--enable-features=UseOzonePlatform"
"--ozone-platform=wayland" "--ozone-platform=wayland"

View file

@ -2,7 +2,7 @@
{ {
imports = [ imports = [
./browser.nix ./firefox.nix
./cloud.nix ./cloud.nix
./foot.nix ./foot.nix
./gaming.nix ./gaming.nix