整理 NixOS 配置:面向 i7-12700F + RTX 4060 的模块化桌面配置
从当前 /etc/nixos 拆出 common/plasma/中文/应用/打印模块,新增 NVIDIA 独显支持,并去掉原机硬件 UUID。
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
i18n.inputMethod = {
|
||||
enable = true;
|
||||
type = "fcitx5";
|
||||
fcitx5 = {
|
||||
waylandFrontend = true;
|
||||
addons = with pkgs; [
|
||||
kdePackages.fcitx5-chinese-addons
|
||||
fcitx5-rime
|
||||
fcitx5-table-extra
|
||||
fcitx5-table-other
|
||||
fcitx5-lua
|
||||
fcitx5-pinyin-zhwiki
|
||||
fcitx5-gtk
|
||||
kdePackages.fcitx5-qt
|
||||
kdePackages.fcitx5-configtool
|
||||
fcitx5-material-color
|
||||
fcitx5-nord
|
||||
catppuccin-fcitx5
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
fonts.fontconfig.defaultFonts = {
|
||||
serif = [
|
||||
"Noto Serif CJK SC"
|
||||
"Source Han Serif SC"
|
||||
"Noto Serif"
|
||||
];
|
||||
sansSerif = [
|
||||
"Noto Sans CJK SC"
|
||||
"Source Han Sans SC"
|
||||
"Noto Sans"
|
||||
];
|
||||
monospace = [
|
||||
"Noto Sans Mono CJK SC"
|
||||
"Source Han Mono SC"
|
||||
"Noto Sans Mono"
|
||||
"Hack"
|
||||
];
|
||||
};
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
arphic-uming
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-color-emoji
|
||||
source-han-sans
|
||||
source-han-serif
|
||||
source-han-mono
|
||||
wqy_zenhei
|
||||
wqy_microhei
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user