From 005334a0371227be6e35e7afd85ab64475ddcf77 Mon Sep 17 00:00:00 2001 From: mediocregopher Date: Wed, 27 Dec 2023 18:37:54 +0100 Subject: Merge X subdir into awesome --- x/default.nix | 43 ------------------------------------------- x/xorg.conf | 6 ------ 2 files changed, 49 deletions(-) delete mode 100644 x/default.nix delete mode 100644 x/xorg.conf (limited to 'x') diff --git a/x/default.nix b/x/default.nix deleted file mode 100644 index a060701..0000000 --- a/x/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ - config, -}: rec { - - pkgs = (import ../pkgs.nix).stable {}; - - innerEnv = pkgs.buildEnv { - name = "x-inner-env"; - paths = [ - pkgs.xorg.xorgserver - pkgs.xorg.xinit - pkgs.xorg.xauth - pkgs.xorg.xset - pkgs.xorg.xf86inputlibinput - - (pkgs.runCommand "xorg-conf-inner" {} '' - mkdir -p "$out"/share/X11/xorg.conf.d/ - cp ${./xorg.conf} "$out"/share/X11/xorg.conf.d/99-loadout.conf - '') - ]; - }; - - conf = pkgs.runCommand "xorg-conf" {} '' - cat >>"$out" <> "$out" - done - - ''; - - startx = pkgs.writeShellScriptBin "startx" '' - export XORGCONFIG=${conf} - export PATH=${innerEnv}/bin:$PATH - exec startx - ''; -} diff --git a/x/xorg.conf b/x/xorg.conf deleted file mode 100644 index 04f72e6..0000000 --- a/x/xorg.conf +++ /dev/null @@ -1,6 +0,0 @@ -Section "InputClass" - Identifier "system-keyboard" - MatchIsKeyboard "on" - Option "XkbLayout" "us" - Option "XkbOptions" "caps:swapescape" -EndSection -- cgit v1.2.3