添加 nixpkgs unfree 配置以支持 nix-shell 安装微信等闭源软件
This commit is contained in:
@@ -15,8 +15,14 @@
|
||||
telegram-desktop
|
||||
htop
|
||||
btop
|
||||
wechat
|
||||
gpu-screen-recorder
|
||||
gpu-screen-recorder-gtk
|
||||
];
|
||||
|
||||
# 让 nix-shell 等传统命令也能安装 unfree 软件
|
||||
xdg.configFile."nixpkgs/config.nix".text = "{ allowUnfree = true; }";
|
||||
|
||||
# 用 Home Manager 固定 Fcitx5 输入法配置,仅保留拼音
|
||||
home.file.".config/fcitx5/profile".text = ''
|
||||
[Groups/0]
|
||||
|
||||
Reference in New Issue
Block a user