quickshell: add option to enable it
This commit is contained in:
parent
39e2eefd98
commit
6e3dd312a4
1 changed files with 19 additions and 10 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue