Changes
2 changed files (+25/-19)
-
-
@@ -28,11 +28,11 @@] }, "locked": { "lastModified": 1780685714, "narHash": "sha256-7tsg5XiJeQ0v8AxPejlL2AJ4JYy5A3WX8nkTf0tLLkk=", "lastModified": 1781116518, "narHash": "sha256-LB/ZC7+2CKrbiiSdPwlWLZplAw84ay3+YI5K4MbMy4w=", "ref": "refs/heads/main", "rev": "50b6a3f591d372fe1d6b8c18823607c3af7e10fe", "revCount": 103, "rev": "8b821f5eb5d088130281e71dbde9ca683d4ef055", "revCount": 108, "type": "git", "url": "https://forgejo.mit.edu/SIPB/nixathena.git" },
-
@@ -43,11 +43,11 @@}, "nixpkgs": { "locked": { "lastModified": 1780243769, "narHash": "sha256-x5UQuRsH3MqI0U9afaXSNqzTPSeZlRLvFAav2Ux1pNw=", "lastModified": 1780749050, "narHash": "sha256-3av0pIjlOWQ6rDbNOmpUSvbNnJkGORQKKjb4LtCZsIY=", "owner": "NixOS", "repo": "nixpkgs", "rev": "331800de5053fcebacf6813adb5db9c9dca22a0c", "rev": "a799d3e3886da994fa307f817a6bc705ae538eeb", "type": "github" }, "original": {
-
-
-
@@ -155,18 +155,24 @@ in}; }; fonts = { # The default CJK font (Unifont) looks atrocious # The obvious choice is noto-fonts-cjk-sans but it causes some characters like 门 to display as the Japanese version instead (fixable but I'm too lazy) # Besides WQY just looks way better (or maybe I've just gotten use to it) # Unfortunately WQY has broken Hangul but I don't speak Korean so oh well # I tried installing a Korean font but this messes up other stuff and fonts are just annoying to debug meh packages = with pkgs; [ wqy_microhei ]; # Fix broken emojis in fcitx5 and other places # https://github.com/NixOS/nixpkgs/issues/336989 # https://discourse.nixos.org/t/firefox-doesnt-render-noto-color-emojis/51202 # Ugh why do I still have to deal with font problems in this day and age? fontconfig.useEmbeddedBitmaps = true; # Use simplified Chinese glyphs instead of Japanese such as for 门 # https://wiki.archlinux.org/title/Localization/Simplified_Chinese#Chinese_characters_displayed_as_variant_(Japanese)_glyphs # My previous solution was to install wqy_microhei which only has Chinese glyphs but it's no longer maintained # Also NixOS installs Noto Sans CJK by default now # https://github.com/NixOS/nixpkgs/pull/521738/ fonts.fontconfig.defaultFonts = { sansSerif = [ "Noto Sans" "Noto Sans CJK SC" ]; serif = [ "Noto Serif" "Noto Serif CJK SC" ]; monospace = [ "Noto Sans Mono" "Noto Sans Mono CJK SC" ]; }; i18n.inputMethod = {
-