diff options
-rw-r--r-- | config/default.nix | 2 | ||||
-rw-r--r-- | x/default.nix | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/config/default.nix b/config/default.nix index 2e50b3e..b2ff1e5 100644 --- a/config/default.nix +++ b/config/default.nix @@ -26,4 +26,6 @@ }; binExtra = []; + + xorgConfExtra = ""; } 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" '' |