x11: add XPanelWindow

This commit is contained in:
outfoxxed 2024-05-20 02:16:44 -07:00
parent 908ba3eef5
commit 73cfeba61b
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
15 changed files with 804 additions and 5 deletions

View file

@ -10,6 +10,8 @@
qt6,
wayland,
wayland-protocols,
xorg,
pipewire,
gitRev ? (let
headExists = builtins.pathExists ./.git/HEAD;
@ -24,6 +26,7 @@
debug ? false,
enableWayland ? true,
enableX11 ? true,
enablePipewire ? true,
nvidiaCompat ? false,
svgSupport ? true, # you almost always want this
@ -42,11 +45,12 @@
wayland-scanner
]);
buildInputs = with pkgs; [
buildInputs = [
qt6.qtbase
qt6.qtdeclarative
]
++ (lib.optionals enableWayland [ qt6.qtwayland wayland ])
++ (lib.optionals enableX11 [ xorg.libxcb ])
++ (lib.optionals svgSupport [ qt6.qtsvg ])
++ (lib.optionals enablePipewire [ pipewire ]);