summaryrefslogtreecommitdiff
path: root/x
diff options
context:
space:
mode:
authormediocregopher <mediocregopher@gmail.com>2023-12-17 17:15:50 +0100
committermediocregopher <mediocregopher@gmail.com>2023-12-17 18:04:32 +0100
commit4a3f06b73c435486f77754a9ac0602bc72821b51 (patch)
tree864589279c12be33bf5bc8a793e237092769fc9d /x
parent6ecd5ca8ec91669c70b3e3f84ad087f829175f00 (diff)
Add ability to include extra xorg conf from the config
Diffstat (limited to 'x')
-rw-r--r--x/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/x/default.nix b/x/default.nix
index 1807368..b6d8f98 100644
--- a/x/default.nix
+++ b/x/default.nix
@@ -26,11 +26,14 @@
Section "Files"
ModulePath "${innerEnv}/lib/xorg/modules"
EndSection
+
+${config.xorgConfExtra}
EOF
for f in $(ls ${innerEnv}/share/X11/xorg.conf.d | sort); do
cat ${innerEnv}/share/X11/xorg.conf.d/"$f" >> "$out"
done
+
'';
startx = pkgs.writeShellScriptBin "startx" ''