From f9d4d2bbd82bd66bebff85420df6653a6966ee9a Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sun, 29 Sep 2024 22:54:38 -0500 Subject: initial commit --- nixes/startx/startx.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 nixes/startx/startx.nix (limited to 'nixes/startx/startx.nix') diff --git a/nixes/startx/startx.nix b/nixes/startx/startx.nix new file mode 100644 index 0000000..591f426 --- /dev/null +++ b/nixes/startx/startx.nix @@ -0,0 +1,10 @@ +#{ pkgs ? import { overlays = [ (import /path/to/my-overlay.nix) ]; } }: + +final: prev: { + xorg.xinit = prev.xorg.xinit.overrideAttrs (old: { + # Apply the patch + patches = old.patches or [] ++ [ + ./startx-xdg.patch + ]; + }); +} -- cgit v1.2.3