Commit ef4c2bcac7d0

Vincent Demeester <vincent@sbr.pm>
2026-06-10 14:43:34
feat(desktop): add fonts to home-manager for standalone builds
On NixOS, fonts are in systems/common/desktop. For standalone home-manager (Fedora CSB), fonts need to be in the user profile. Added Monaspace, JetBrains Mono, Nerd Fonts, and others.
1 parent bb9a199
Changed files (1)
home
common
home/common/desktop/default.nix
@@ -23,7 +23,27 @@
     ../dev/desktop.nix
   ];
 
+  fonts.fontconfig.enable = true;
+
   home.packages = with pkgs; [
+    # Fonts (on NixOS these are in systems/common/desktop, but standalone
+    # home-manager needs them in the user profile)
+    font-awesome
+    go-font
+    hack-font
+    jetbrains-mono
+    liberation_ttf
+    monaspace
+    nerd-fonts.jetbrains-mono
+    nerd-fonts.monaspace
+    nerd-fonts.overpass
+    nerd-fonts.ubuntu
+    nerd-fonts.ubuntu-mono
+    nerd-fonts.ubuntu-sans
+    noto-fonts
+    noto-fonts-color-emoji
+    overpass
+
     aspell
     aspellDicts.en
     aspellDicts.fr