summary refs log tree commit diff
path: root/nixos/modules/services/x11/display-managers
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-02-01 16:18:48 -0600
committerThomas Tuegel <ttuegel@gmail.com>2015-02-01 16:18:48 -0600
commit0fee7a2b214ad80823df547861814bbdc6edab80 (patch)
treed1053236ad5ec12c409b8719c1a0edcaac231f10 /nixos/modules/services/x11/display-managers
parent9b29267511dcca53c22e68fd7b085bb98537512e (diff)
downloadnixlib-0fee7a2b214ad80823df547861814bbdc6edab80.tar
nixlib-0fee7a2b214ad80823df547861814bbdc6edab80.tar.gz
nixlib-0fee7a2b214ad80823df547861814bbdc6edab80.tar.bz2
nixlib-0fee7a2b214ad80823df547861814bbdc6edab80.tar.lz
nixlib-0fee7a2b214ad80823df547861814bbdc6edab80.tar.xz
nixlib-0fee7a2b214ad80823df547861814bbdc6edab80.tar.zst
nixlib-0fee7a2b214ad80823df547861814bbdc6edab80.zip
fontconfig: stringify dpi correctly
Diffstat (limited to 'nixos/modules/services/x11/display-managers')
-rw-r--r--nixos/modules/services/x11/display-managers/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/x11/display-managers/default.nix b/nixos/modules/services/x11/display-managers/default.nix
index a1b5daa3336d..601971d27b69 100644
--- a/nixos/modules/services/x11/display-managers/default.nix
+++ b/nixos/modules/services/x11/display-managers/default.nix
@@ -25,7 +25,7 @@ let
 
   fontconfig = config.fonts.fontconfig;
   xresourcesXft = pkgs.writeText "Xresources-Xft" ''
-    ${optionalString (fontconfig.dpi != 0) ''Xft.dpi: ${fontconfig.dpi}''}
+    ${optionalString (fontconfig.dpi != 0) ''Xft.dpi: ${toString fontconfig.dpi}''}
     Xft.antialias: ${if fontconfig.antialias then "1" else "0"}
     Xft.rgba: ${fontconfig.subpixel.rgba}
     Xft.lcdfilter: lcd${fontconfig.subpixel.lcdfilter}