mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-20 22:57:17 +02:00
feat: using nixos's stable branch by default to stablize the system
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{ pkgs
|
||||
, pkgs-stable
|
||||
, ...
|
||||
}:
|
||||
|
||||
@@ -11,10 +10,6 @@
|
||||
google-chrome = {
|
||||
enable = true;
|
||||
|
||||
# chrome wayland support was broken on nixos-unstable branch, so fallback to stable branch for now
|
||||
# https://github.com/swaywm/sway/issues/7562
|
||||
package = pkgs-stable.google-chrome;
|
||||
|
||||
commandLineArgs = [
|
||||
# make it use GTK_IM_MODULE if it runs with Gtk4, so fcitx5 can work with it.
|
||||
# (only supported by chromium/chrome at this time, not electron)
|
||||
@@ -30,18 +25,18 @@
|
||||
firefox = {
|
||||
enable = true;
|
||||
enableGnomeExtensions = false;
|
||||
package = pkgs-stable.firefox-wayland; # firefox with wayland support
|
||||
# package = pkgs.firefox-wayland; # firefox with wayland support
|
||||
};
|
||||
|
||||
vscode = {
|
||||
enable = true;
|
||||
# use the stable version
|
||||
package = pkgs-stable.vscode.override {
|
||||
commandLineArgs = [
|
||||
# make it use text-input-v1, which works for kwin 5.27 and weston
|
||||
# "--enable-wayland-ime"
|
||||
];
|
||||
};
|
||||
# package = pkgs.vscode.override {
|
||||
# commandLineArgs = [
|
||||
# # make it use text-input-v1, which works for kwin 5.27 and weston
|
||||
# # "--enable-wayland-ime"
|
||||
# ];
|
||||
# };
|
||||
|
||||
# let vscode sync and update its configuration & extensions across devices, using github account.
|
||||
# userSettings = {};
|
||||
|
||||
Reference in New Issue
Block a user