fix: nix Maple Fonts

This commit is contained in:
js0ny 2025-10-26 16:14:39 +00:00
parent 9605a62e9c
commit e2209cea57
12 changed files with 96 additions and 46 deletions

View file

@ -50,5 +50,6 @@
powershell
powershell-editor-services
package-version-server
gemini-cli
];
}

View file

@ -3,7 +3,7 @@
fonts.fontconfig = {
defaultFonts = {
monospace = [
"Maple Mono NF"
"Maple Mono NF CN"
"JetBrainsMono Nerd Font"
];
serif = ["LXGW WenKai"];

View file

@ -5,19 +5,26 @@
kitty
alacritty
warp-terminal
# Explorer
kdePackages.dolphin
kdePackages.dolphin-plugins # dolphin git integration
kdePackages.konsole # dolphin terminal integration
yazi # terminal file manager
# PDF Viewer
kdePackages.okular # default
sioyek
# Image Viewer
vimiv-qt # Default
loupe # SUPER FAST 有催人跑的感觉 w/ GPU Accel.
papirus-icon-theme
kdePackages.elisa
mpv
haruna
papirus-icon-theme
pcloud
telegram-desktop
steam
@ -28,7 +35,6 @@
(jetbrains.rider.override {
vmopts = ''-Dawt.toolkit.name=WLToolkit'';
})
haruna
localsend
neovide
cherry-studio
@ -39,7 +45,6 @@
qbittorrent
protonvpn-gui
proton-pass
mpv
neovim-qt
goldendict-ng
kdePackages.kdenlive
@ -47,6 +52,8 @@
steam-run
bottles
lutris
libreoffice
vivaldi
];
xdg.desktopEntries = {

View file

@ -1,4 +1,8 @@
{config, ...}: {
{
config,
pkgs,
...
}: {
programs.distrobox = {
enable = true;
containers = {
@ -14,4 +18,21 @@
};
};
};
home.packages = with pkgs; [
wmname
];
xdg.desktopEntries = {
"xilinx.vivado" = {
name = "Xilinx Vivado 2022.2";
type = "Application";
terminal = false;
exec = "distrobox enter Xilinx -- /opt/Xilinx/Vivado/2022.2/bin/vivado";
};
"xilinx.vitis" = {
name = "Xilinx Vitis 2022.2";
type = "Application";
terminal = false;
exec = "distrobox enter Xilinx -- bash ${config.home.homeDirectory}/.vitis-wr.sh";
};
};
}

View file

@ -4,11 +4,14 @@
krunner-vscodeprojects
jetbrains-runner
];
home.sessionVariables = {
QT_STYLE_OVERRIDE = "Breeze";
};
programs.plasma = {
enable = true;
session.sessionRestore.restoreOpenApplicationsOnLogin = "startWithEmptySession";
fonts = {
fixedWidth.family = "Maple Mono NF";
fixedWidth.family = "Maple Mono NF CN";
fixedWidth.pointSize = 10;
general.family = "LXGW Neo XiHei";
general.pointSize = 10;
@ -121,7 +124,7 @@
programs.kate.enable = true;
programs.kate.editor = {
font = {
family = "Maple Mono NF";
family = "Maple Mono NF CN";
pointSize = 10;
};
inputMode = "vi";
@ -134,7 +137,7 @@
command = "${pkgs.fish}/bin/fish";
colorScheme = "catppuccin-mocha";
font = {
name = "Maple Mono NF";
name = "Maple Mono NF CN";
size = 12;
};
};

View file

@ -1,5 +1,5 @@
{pkgs, ...}: let
alias = {"c" = "code";};
codeAlias = {"c" = "code";};
in {
programs.vscode = {
package = pkgs.vscode;
@ -16,7 +16,7 @@ in {
vspacecode.whichkey
];
};
programs.fish.shellAbbrs = alias;
programs.bash.shellAliases = alias;
programs.zsh.shellAliases = alias;
programs.fish.shellAbbrs = codeAlias;
programs.bash.shellAliases = codeAlias;
programs.zsh.shellAliases = codeAlias;
}