(mirror) personal dotfiles github.com/crescentrose/dotfiles

feat: add more fonts

+25 -14
+1 -14
home/desktop/default.nix
··· 5 5 ./audio.nix 6 6 ./apps.nix 7 7 ./bar.nix 8 + ./fonts.nix 8 9 ./idle.nix 9 10 ./gtk.nix 10 11 ./notifications.nix ··· 41 42 newsflash # rss 42 43 video-trimmer # if only all apps were named this consistently 43 44 44 - # fonts 45 - cascadia-code 46 - inter 47 - departure-mono 48 - iosevka 49 - liberation_ttf # replacements for common MS fonts 50 - noto-fonts 51 - noto-fonts-cjk-sans 52 - twitter-color-emoji # 🤓 53 - 54 45 # icons 55 46 adwaita-icon-theme 56 47 adwaita-icon-theme-legacy 57 48 morewaita-icon-theme 58 - font-awesome 59 - nerd-fonts.symbols-only 60 49 ]; 61 - 62 - fonts.fontconfig.defaultFonts.emoji = [ "Twitter Color Emoji" ]; 63 50 }
+21
home/desktop/fonts.nix
··· 1 + { pkgs, ... }: 2 + { 3 + home.packages = with pkgs; [ 4 + cascadia-code 5 + inter 6 + departure-mono 7 + iosevka 8 + liberation_ttf # replacements for common MS fonts 9 + noto-fonts 10 + noto-fonts-cjk-sans 11 + twitter-color-emoji # 🤓 12 + font-awesome 13 + nerd-fonts.symbols-only 14 + ]; 15 + 16 + # Let Fontconfig know about the fonts we just installed 17 + fonts.fontconfig = { 18 + enable = true; 19 + defaultFonts.emoji = [ "Twitter Color Emoji" ]; 20 + }; 21 + }
+3
machines/starlight/default.nix
··· 178 178 hardware.graphics.extraPackages = [ pkgs.amf ]; 179 179 hardware.amdgpu.initrd.enable = true; 180 180 181 + # Include some standard fonts 182 + fonts.enableDefaultPackages = true; 183 + 181 184 # Make fonts render twice as good as Ubuntu but half as good as macOS 182 185 fonts.fontconfig = { 183 186 # fixes pixelation