add xinit overlay

This commit is contained in:
LavaDesu 2021-06-04 16:16:16 +07:00
parent 46b16c07e1
commit 023c408aff
Signed by: cilly
GPG key ID: 6500251E087653C9
3 changed files with 37 additions and 0 deletions

10
overlays/xinit.nix Normal file
View file

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