fix: try to make firefox the default browser

This commit is contained in:
ryan4yin
2023-05-28 13:45:30 +08:00
parent 967b408e41
commit 3d93f5e624
12 changed files with 120 additions and 75 deletions

View File

@@ -1,7 +1,6 @@
{
pkgs,
nixpkgs-stable,
config,
...
}: let
pkgs-stable = import nixpkgs-stable {
@@ -9,12 +8,6 @@
config.allowUnfree = true;
};
in {
home.packages = with pkgs-stable; [
firefox-wayland # firefox with wayland support
wineWowPackages.wayland
];
# TODO vscode & chrome both have wayland support, but they don't work with fcitx5, need to fix it.
programs = {
@@ -38,6 +31,12 @@
];
};
firefox = {
enable = true;
enableGnomeExtensions = false;
package = pkgs-stable.firefox-wayland; # firefox with wayland support
};
vscode = {
enable = true;
# use the stable version