mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-16 09:32:39 +02:00
feat: format via 'ls **/*.nix | each { |it| nixfmt $it.name }'
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{pkgs, ...}: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
# all fonts are linked to /nix/var/nix/profiles/system/sw/share/X11/fonts
|
||||
fonts = {
|
||||
# use fonts specified by user rather than default ones
|
||||
@@ -37,7 +38,7 @@
|
||||
# 西文
|
||||
"JetBrainsMono Nerd Font"
|
||||
];
|
||||
emoji = ["Noto Color Emoji"];
|
||||
emoji = [ "Noto Color Emoji" ];
|
||||
};
|
||||
antialias = true; # 抗锯齿
|
||||
hinting.enable = false; # 禁止字体微调 - 高分辨率下没这必要
|
||||
|
||||
Reference in New Issue
Block a user