fix: error - only one wireless daemon is allowed at the time, speed up wechat download

This commit is contained in:
Ryan Yin
2026-01-02 22:15:26 +08:00
parent f4f3ff347c
commit 94e431abfc
4 changed files with 13 additions and 12 deletions

View File

@@ -16,17 +16,19 @@ let
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/we/wechat/package.nix # https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/we/wechat/package.nix
sources = { sources = {
aarch64-linux = { aarch64-linux = {
version = "4.0.1.11"; version = "4.1.0.13";
src = fetchurl { src = fetchurl {
url = "https://web.archive.org/web/20250512112413if_/https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_arm64.AppImage"; # url = "https://web.archive.org/web/20251209092116if_/https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_arm64.AppImage";
hash = "sha256-Rg+FWNgOPC02ILUskQqQmlz1qNb9AMdvLcRWv7NQhGk="; url = "https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_arm64.AppImage";
hash = "sha256-/d5crM6IGd0k0fSlBSQx4TpIVX/8iib+an0VMkWMNdw=";
}; };
}; };
x86_64-linux = { x86_64-linux = {
version = "4.0.1.11"; version = "4.1.0.13";
src = fetchurl { src = fetchurl {
url = "https://web.archive.org/web/20250512110825if_/https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_x86_64.AppImage"; # url = "https://web.archive.org/web/20251219062558if_/https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_x86_64.AppImage";
hash = "sha256-gBWcNQ1o1AZfNsmu1Vi1Kilqv3YbR+wqOod4XYAeVKo="; url = "https://dldir1v6.qq.com/weixin/Universal/Linux/WeChatLinux_x86_64.AppImage";
hash = "sha256-+r5Ebu40GVGG2m2lmCFQ/JkiDsN/u7XEtnLrB98602w=";
}; };
}; };
}; };

View File

@@ -23,7 +23,6 @@ in
(_: super: { (_: super: {
nixpaks = { nixpaks = {
qq = wrapper pkgs-master ./qq.nix; qq = wrapper pkgs-master ./qq.nix;
wechat = wrapper super ./wechat.nix;
telegram-desktop = wrapper super ./telegram-desktop.nix; telegram-desktop = wrapper super ./telegram-desktop.nix;
firefox = wrapper super ./firefox.nix; firefox = wrapper super ./firefox.nix;
}; };

View File

@@ -28,10 +28,10 @@
muvm # run x86_64 Apps/Games in a microVM, used as a workaround of apple silicon's 16k page size. muvm # run x86_64 Apps/Games in a microVM, used as a workaround of apple silicon's 16k page size.
]; ];
networking.wireless.iwd = { # networking.wireless.iwd = {
enable = true; # enable = true;
settings.General.EnableNetworkConfiguration = true; # settings.DriverQuirks.DefaultInterface = true;
}; # };
# configures the network interface(include wireless) via `nmcli` & `nmtui` # configures the network interface(include wireless) via `nmcli` & `nmtui`
networking.networkmanager.enable = true; networking.networkmanager.enable = true;

View File

@@ -36,7 +36,7 @@
# thunar file manager(part of xfce) related options # thunar file manager(part of xfce) related options
thunar = { thunar = {
enable = true; enable = true;
plugins = with pkgs.xfce; [ plugins = with pkgs; [
thunar-archive-plugin thunar-archive-plugin
thunar-volman thunar-volman
]; ];