refactor: clean up quickshell devShell

This commit is contained in:
matt1432 2025-04-25 12:04:24 -04:00
parent 2445b665bc
commit 525a93341d
4 changed files with 28 additions and 14 deletions
devShells/quickshell

View file

@ -0,0 +1,24 @@
{
lib,
mkShell,
kdePackages,
quickshell,
...
}:
mkShell {
packages = [
quickshell
];
shellHook = ''
export QML2_IMPORT_PATH="$QML2_IMPORT_PATH:${lib.makeSearchPath "lib/qt-6/qml" [
quickshell
kdePackages.qtdeclarative
]}"
'';
meta.description = ''
Shell that provides the quickshell executable with `QML2_IMPORT_PATH`
correctly defined for quickshell development.
'';
}