swapiness and gnome fonts non-cjk

This commit is contained in:
2026-03-26 20:45:56 +03:00
parent c6b918bcf1
commit c7d697a6d2
3 changed files with 7 additions and 6 deletions

View File

@@ -43,7 +43,7 @@
}; };
networking.hosts = { networking.hosts = {
"127.0.0.1" = [ "dev.tolma.ch" ]; "127.0.0.2" = [ "dev.tolma.ch" ];
}; };
# Enable the X11 windowing system. # Enable the X11 windowing system.
@@ -109,10 +109,10 @@
"Ubuntu Mono" "Ubuntu Mono"
]; ];
serif = [ serif = [
"Noto Serif CJK SC" "Noto Serif"
]; ];
sansSerif = [ sansSerif = [
"Noto Sans CJK SC" "Noto Sans"
]; ];
}; };
localConf = '' localConf = ''
@@ -134,6 +134,7 @@
nerd-fonts.recursive-mono nerd-fonts.recursive-mono
nerd-fonts.iosevka nerd-fonts.iosevka
nerd-fonts.symbols-only nerd-fonts.symbols-only
noto-fonts
noto-fonts-cjk-sans noto-fonts-cjk-sans
noto-fonts-cjk-serif noto-fonts-cjk-serif
]; ];

View File

@@ -37,8 +37,8 @@
switch-to-workspace-5 = ["<Control>5"]; switch-to-workspace-5 = ["<Control>5"];
}; };
"org/gnome/desktop/interface" = { "org/gnome/desktop/interface" = {
document-font-name = "Noto Sans CJK SC 12 @wght=400"; document-font-name = "Noto Sans 12 @wght=400";
font-name = "Noto Sans CJK SC 11 @wght=400"; font-name = "Noto Sans 11 @wght=400";
monospace-font-name = "RecMonoLinear Nerd Font Mono 11"; monospace-font-name = "RecMonoLinear Nerd Font Mono 11";
}; };
"org/gnome/shell" = { "org/gnome/shell" = {

View File

@@ -26,7 +26,7 @@
options = [ "discard" ]; options = [ "discard" ];
}]; }];
boot.kernel.sysctl = { boot.kernel.sysctl = {
"vm.swappiness" = 20; "vm.swappiness" = 1;
}; };
zramSwap = { zramSwap = {
enable = true; enable = true;