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:
parent
ce339bb50f
commit
c4e9c34769
4 changed files with 97 additions and 43 deletions
|
@ -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; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue