diff options
author | Profpatsch <mail@profpatsch.de> | 2015-05-28 01:33:13 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2015-05-28 01:33:13 +0200 |
commit | d0d14a28235935bafce9485283a8dc1aacd7c43c (patch) | |
tree | 381d807ea24eed6704c0b079e0ab70e4373b7207 /machines/profpatsch/katara.nix | |
parent | 1040f9c42498e722846aded7b24d0a3fa25d94e4 (diff) |
katara: fontconfig
Diffstat (limited to 'machines/profpatsch/katara.nix')
-rw-r--r-- | machines/profpatsch/katara.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix index eb32871a..1ff4ca86 100644 --- a/machines/profpatsch/katara.nix +++ b/machines/profpatsch/katara.nix @@ -139,6 +139,19 @@ services.xserver.windowManager.i3.enable = true; # services.xserver.desktopManager.gnome3.enable = true; + fonts.enableCoreFonts = true; + fonts.fontconfig.defaultFonts.monospace = [ "Consolas" "DejaVu Sans Mono" ]; + # use overkill infinality settings from old Arch installation + fonts.fontconfig.ultimate.rendering = { + INFINALITY_FT_FILTER_PARAMS = "08 24 36 24 08"; + INFINALITY_FT_FRINGE_FILTER_STRENGTH = "25"; + INFINALITY_FT_USE_VARIOUS_TWEAKS = "true"; + INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH = "25"; + INFINALITY_FT_STEM_ALIGNMENT_STRENGTH = "15"; + INFINALITY_FT_STEM_FITTING_STRENGTH = "15"; + }; + fonts.fontconfig.ultimate.substitutions = "combi"; + # redshift services.redshift = { enable = true; |