1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: add gtk theme

This commit is contained in:
oddlama 2023-09-14 18:52:30 +02:00
parent ce339bb50f
commit c4e9c34769
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 97 additions and 43 deletions

View file

@ -4,11 +4,37 @@
...
}: {
fonts = {
fontconfig.defaultFonts = {
sansSerif = lib.mkBefore ["Segoe UI"];
#serif = [];
monospace = ["FiraCode Nerd Font"];
emoji = ["Segoe UI Emoji" "Noto Fonts Emoji"];
fontconfig = {
# Always prefer emojis even if the original font would provide a glyph
localConf = ''
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias binding="weak">
<family>monospace</family>
<prefer>
<family>emoji</family>
</prefer>
</alias>
<alias binding="weak">
<family>sans-serif</family>
<prefer>
<family>emoji</family>
</prefer>
</alias>
<alias binding="weak">
<family>serif</family>
<prefer>
<family>emoji</family>
</prefer>
</alias>
</fontconfig>
'';
defaultFonts = {
sansSerif = lib.mkBefore ["Segoe UI"];
monospace = ["FiraCode Nerd Font"];
emoji = ["Segoe UI Emoji" "Noto Fonts Emoji"];
};
};
packages = with pkgs; [