diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2024-10-02 22:37:06 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2024-10-02 22:37:06 -0500 |
commit | 9d1b3f23a64506988608143f4bca8ab4c5141d3e (patch) | |
tree | 0955588a5f4bcb3f802b6398a537a83cdb0091e0 /modules/root/x11 | |
parent | 4730b215fdc4095800fedfdf690c12fec994bb6b (diff) | |
download | nixos-9d1b3f23a64506988608143f4bca8ab4c5141d3e.tar.xz nixos-9d1b3f23a64506988608143f4bca8ab4c5141d3e.zip |
update moreee
Diffstat (limited to 'modules/root/x11')
-rw-r--r-- | modules/root/x11/default.nix | 30 | ||||
-rw-r--r-- | modules/root/x11/xinit-startx-xdg.patch | 14 |
2 files changed, 0 insertions, 44 deletions
diff --git a/modules/root/x11/default.nix b/modules/root/x11/default.nix deleted file mode 100644 index 8fa1d27..0000000 --- a/modules/root/x11/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ pkgs, lib, config, ... }: { - options = { - xserver.enable = lib.mkEnableOption "enables xserver"; - }; - - config = lib.mkIf config.xserver.enable { - services.xserver.enable = true; - services.xserver.displayManager.startx.enable = true; - services.libinput.enable = true; # Enable touchpad support - - environment.systemPackages = with pkgs; [ - unclutter - xcape - xclip - xdotool - xorg.setxkbmap - xorg.xinput - xorg.xkill - xorg.xrandr - xorg.xset - xwallpaper - # Patch startx to be compliant with xdg base dir spec - (xorg.xinit.overrideAttrs (old: rec { - patches = [ - ./xinit-startx-xdg.patch - ]; - })) - ]; - }; -} diff --git a/modules/root/x11/xinit-startx-xdg.patch b/modules/root/x11/xinit-startx-xdg.patch deleted file mode 100644 index c1bca97..0000000 --- a/modules/root/x11/xinit-startx-xdg.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/startx.cpp b/startx.cpp -index dfbebe1..472a1b0 100644 ---- a/startx.cpp -+++ b/startx.cpp -@@ -272,7 +272,7 @@ if [ x"$enable_xauth" = x1 ] ; then - dummy=0 - - XCOMM create a file with auth information for the server. ':0' is a dummy. -- xserverauthfile=$HOME/.serverauth.$$ -+ xserverauthfile="${XAUTHORITY:-$HOME/.Xauthority}" - trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP BUS TERM - xauth -q -f "$xserverauthfile" << EOF - add :$dummy . $mcookie - |