mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 10:18:37 +02:00
fix: try to make firefox the default browser
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user