summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-06-10 21:43:04 +0200
committertv <tv@krebsco.de>2021-06-10 21:43:04 +0200
commitbf6736c98d993bd11f0a649611a769f165bcdc7d (patch)
treefb1adb55545c297ac2a7653fa1bf0fd895e1ef87 /tv/2configs
parent044da07736e5ab115adc4a567c4363c8b1f2a849 (diff)
tv xserver: useXFS -> fontPath
tv xserver: useXFS -> fontPath For nixpkgs 21.05
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/xserver/xserver.conf.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/tv/2configs/xserver/xserver.conf.nix b/tv/2configs/xserver/xserver.conf.nix
index 6f34e01..99038e5 100644
--- a/tv/2configs/xserver/xserver.conf.nix
+++ b/tv/2configs/xserver/xserver.conf.nix
@@ -9,15 +9,15 @@ in
pkgs.stdenv.mkDerivation {
name = "xserver.conf";
- xfs = optionalString (cfg.useXFS != false)
- ''FontPath "${toString cfg.useXFS}"'';
+ fontPath = optionalString (cfg.fontPath != null)
+ ''FontPath "${toString cfg.fontPath}"'';
inherit (cfg) config;
buildCommand =
''
echo 'Section "Files"' >> $out
- echo $xfs >> $out
+ echo $fontPath >> $out
for i in ${toString config.fonts.fonts}; do
if test "''${i:0:''${#NIX_STORE}}" == "$NIX_STORE"; then