summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-06-23 22:46:52 -0400
committerFreya Murphy <freya@freyacat.org>2025-06-23 22:47:21 -0400
commit81c5eec9cafc2a9629e966a0b4d8d3b9b1d1f059 (patch)
tree1b6f0e54c53ec3c1ba75f5f09fe697e1045b0b7a /modules
parentupdate some packages (diff)
downloaddotfiles-nix-81c5eec9cafc2a9629e966a0b4d8d3b9b1d1f059.tar.gz
dotfiles-nix-81c5eec9cafc2a9629e966a0b4d8d3b9b1d1f059.tar.bz2
dotfiles-nix-81c5eec9cafc2a9629e966a0b4d8d3b9b1d1f059.zip
fix fonts config
Diffstat (limited to '')
-rw-r--r--modules/desktop/default.nix89
1 files changed, 45 insertions, 44 deletions
diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix
index 471f0cd..7b6146d 100644
--- a/modules/desktop/default.nix
+++ b/modules/desktop/default.nix
@@ -2,6 +2,7 @@
lib,
config,
pkgs,
+ inputs,
...
}: let
inherit (lib) mkEnableOption mkIf optionals;
@@ -53,52 +54,52 @@ in {
# xdg
libnotify
];
+ };
- # desktop only fonts
- fonts.packages =
- (with pkgs; [
- corefonts
- dejavu_fonts
- fira-code
- fira-code-symbols
- jetbrains-mono
- material-icons
- nerd-fonts.fira-code
- noto-fonts
- noto-fonts-cjk-sans
- noto-fonts-emoji
- twemoji-color-font
- vistafonts
- ])
- ++ (with inputs.apple-fonts.packages.${pkgs.system}; [
- sf-pro
- sf-mono
- sf-compact
- ]);
+ # desktop only fonts
+ fonts.packages =
+ (with pkgs; [
+ corefonts
+ dejavu_fonts
+ fira-code
+ fira-code-symbols
+ jetbrains-mono
+ material-icons
+ nerd-fonts.fira-code
+ noto-fonts
+ noto-fonts-cjk-sans
+ noto-fonts-emoji
+ twemoji-color-font
+ vistafonts
+ ])
+ ++ (with inputs.apple-fonts.packages.${pkgs.system}; [
+ sf-pro
+ sf-mono
+ sf-compact
+ ]);
- fonts.fontconfig = {
- enable = true;
- defaultFonts = {
- serif = [
- "Twemoji"
- "DejaVu Serif"
- ];
- sansSerif = [
- "Twemoji"
- "DejaVu Sans"
- ];
- monospace = [
- "Fira Code"
- "FiraCode Nerd Font Mono"
- "Font Awesome 6 Pro Regular"
- "Twemoji"
- "DejaVu Sans Mono"
- ];
- emoji = [
- "Twemoji"
- "Noto Color Emoji"
- ];
- };
+ fonts.fontconfig = {
+ enable = true;
+ defaultFonts = {
+ serif = [
+ "Twemoji"
+ "DejaVu Serif"
+ ];
+ sansSerif = [
+ "Twemoji"
+ "DejaVu Sans"
+ ];
+ monospace = [
+ "Fira Code"
+ "FiraCode Nerd Font Mono"
+ "Font Awesome 6 Pro Regular"
+ "Twemoji"
+ "DejaVu Sans Mono"
+ ];
+ emoji = [
+ "Twemoji"
+ "Noto Color Emoji"
+ ];
};
};
};