feat: nixos - nur - qqmusic/wechat-uos/dingtalk, rollback to i3

This commit is contained in:
ryan4yin
2023-05-14 01:32:47 +08:00
parent abb7c84675
commit 47a7828bc7
10 changed files with 147 additions and 68 deletions

View File

@@ -10,7 +10,8 @@
};
in {
home.packages = with pkgs-stable; [
firefox-wayland
# firefox-wayland
firefox
];
programs = {
@@ -23,26 +24,26 @@
# 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)
"--gtk-version=4"
# make it use text-input-v1, which works for kwin 5.27 and weston
# "--enable-wayland-ime"
# 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)
# "--gtk-version=4"
# # make it use text-input-v1, which works for kwin 5.27 and weston
# # "--enable-wayland-ime"
# enable hardware acceleration - vulkan api
# "--enable-features=Vulkan"
];
# # enable hardware acceleration - vulkan api
# # "--enable-features=Vulkan"
# ];
};
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"
];
# 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.

View File

@@ -1,4 +1,7 @@
{pkgs, ...}: {
{pkgs, config, ...}:
{
home.packages = with pkgs; [
# archives
zip
@@ -88,7 +91,6 @@
# instant messaging
telegram-desktop
discord
# qq & wechat are alse in the official nixpkgs
qq # https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/networking/instant-messengers/qq
# music