quickshell: add option to enable it

This commit is contained in:
Bloxx12 2025-04-29 13:57:19 +02:00
commit 6e3dd312a4

View file

@ -6,15 +6,24 @@
...
}: let
inherit (inputs) quickshell;
in {
environment.systemPackages = with pkgs; [
quickshell.packages.x86_64-linux.default
qt6.qtimageformats
qt6.qt5compat
qt6.qtmultimedia
qt6.qtdeclarative
];
# taken from outfoxxed.
qt.enable = true;
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;
cfg = config.modules.theming.quickshell;
in {
options.modules.theming.quickshell.enable = mkEnableOption "quickshell";
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
quickshell.packages.x86_64-linux.default
qt6.qtimageformats
qt6.qt5compat
qt6.qtmultimedia
qt6.qtdeclarative
];
# taken from outfoxxed.
qt.enable = true;
};
}