summaryrefslogtreecommitdiffstats
path: root/tv
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
commit4aec520f84649b96c54526399444c2cd1acd2da2 (patch)
tree569f16918e6c8e703fcb5f8eba9551973635035b /tv
parent0e6e8b7188b4a2aab7ca467cb20514a70ba09011 (diff)
tv xserver: useXFS -> fontPath
tv xserver: useXFS -> fontPath For nixpkgs 21.05
Diffstat (limited to 'tv')
-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 6f34e015..99038e5f 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