treewide: prune out xorg

This commit is contained in:
LavaDesu 2025-03-23 00:23:58 +11:00
parent b89253931d
commit 46c30b9d5d
Signed by: cilly
GPG key ID: 6500251E087653C9
16 changed files with 1 additions and 205 deletions

View file

@ -7,5 +7,4 @@ builtins.map (path: import path) [
./rofi.nix
./steam.nix
./utillinux.nix
./xinit.nix
]

View file

@ -1,13 +0,0 @@
diff --git a/startx.cpp b/startx.cpp
index 125c398..296b29f 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -270,7 +270,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
trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP BUS TERM
xauth -q -f "$xserverauthfile" << EOF
add :$dummy . $mcookie

View file

@ -1,10 +0,0 @@
self: super: {
xorg = super.xorg // {
xinit = super.xorg.xinit.overrideAttrs (old: {
# Some info:
# - Make startx use $XAUTHORITY as server auth files instead of .serverauth.$$
# - Make startx respect $XINITRC and $XSERVERRC
patches = (old.patches or []) ++ [ ./patches/startx.patch ];
});
};
}