modules(plasma): Add condition append wallpaper engine plugin
All checks were successful
check / check (push) Successful in 29s

This commit is contained in:
Florian RICHER 2024-09-16 10:12:21 +02:00
parent a9823d99c2
commit 35a467eab3
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
2 changed files with 9 additions and 2 deletions

View file

@ -25,7 +25,10 @@
}; };
desktop = { desktop = {
plasma.enable = true; plasma = {
enable = true;
enableWallpaperEngine = true;
};
}; };
hardware = { hardware = {

View file

@ -13,6 +13,10 @@ in
enable = mkEnableOption '' enable = mkEnableOption ''
Enable plasma with my custom configurations Enable plasma with my custom configurations
''; '';
enableWallpaperEngine = mkEnableOption ''
Enable wallpaper engine plugin for plasma
'';
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
# Enable the X11 windowing system. # Enable the X11 windowing system.
@ -32,7 +36,7 @@ in
discover discover
kgpg kgpg
yakuake yakuake
] ++ lib.optionals cfg.enableWallpaperEngine [
### wallpaper-engine-plugin ### wallpaper-engine-plugin
(callPackage "${nixpkgsPr}/pkgs/kde/third-party/wallpaper-engine-plugin/default.nix" {}) (callPackage "${nixpkgsPr}/pkgs/kde/third-party/wallpaper-engine-plugin/default.nix" {})
qtmultimedia qtmultimedia