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,7 +6,15 @@
... ...
}: let }: let
inherit (inputs) quickshell; inherit (inputs) quickshell;
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption;
cfg = config.modules.theming.quickshell;
in { in {
options.modules.theming.quickshell.enable = mkEnableOption "quickshell";
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
quickshell.packages.x86_64-linux.default quickshell.packages.x86_64-linux.default
qt6.qtimageformats qt6.qtimageformats
@ -17,4 +25,5 @@ in {
# taken from outfoxxed. # taken from outfoxxed.
qt.enable = true; qt.enable = true;
};
} }