summaryrefslogtreecommitdiffstats
path: root/mv/2configs/xserver/xserver.conf.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-06-30 21:51:09 +0200
committerlassulus <lass@aidsballs.de>2016-06-30 21:51:09 +0200
commitb3fa9cbd7e4bc8fe950aed139d857a2f14775b94 (patch)
tree223af7528e038008bf8de4252dc986910f380f13 /mv/2configs/xserver/xserver.conf.nix
parenteac3b2f4b46c9046205bc2507cd8fab3840929bb (diff)
parent4d63548868ec4806d62d82337bb278e6dd34f21e (diff)
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'mv/2configs/xserver/xserver.conf.nix')
-rw-r--r--mv/2configs/xserver/xserver.conf.nix40
1 files changed, 0 insertions, 40 deletions
diff --git a/mv/2configs/xserver/xserver.conf.nix b/mv/2configs/xserver/xserver.conf.nix
deleted file mode 100644
index c452b4226..000000000
--- a/mv/2configs/xserver/xserver.conf.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with config.krebs.lib;
-
-let
- cfg = config.services.xserver;
-in
-
-pkgs.stdenv.mkDerivation {
- name = "xserver.conf";
-
- xfs = optionalString (cfg.useXFS != false)
- ''FontPath "${toString cfg.useXFS}"'';
-
- inherit (cfg) config;
-
- buildCommand =
- ''
- echo 'Section "Files"' >> $out
- echo $xfs >> $out
-
- for i in ${toString config.fonts.fonts}; do
- if test "''${i:0:''${#NIX_STORE}}" == "$NIX_STORE"; then
- for j in $(find $i -name fonts.dir); do
- echo " FontPath \"$(dirname $j)\"" >> $out
- done
- fi
- done
-
- for i in $(find ${toString cfg.modules} -type d); do
- if test $(echo $i/*.so* | wc -w) -ne 0; then
- echo " ModulePath \"$i\"" >> $out
- fi
- done
-
- echo 'EndSection' >> $out
-
- echo "$config" >> $out
- '';
-}