modules(plasma): Add condition append wallpaper engine plugin
All checks were successful
check / check (push) Successful in 29s
All checks were successful
check / check (push) Successful in 29s
This commit is contained in:
parent
a9823d99c2
commit
35a467eab3
2 changed files with 9 additions and 2 deletions
|
@ -25,7 +25,10 @@
|
|||
};
|
||||
|
||||
desktop = {
|
||||
plasma.enable = true;
|
||||
plasma = {
|
||||
enable = true;
|
||||
enableWallpaperEngine = true;
|
||||
};
|
||||
};
|
||||
|
||||
hardware = {
|
||||
|
|
|
@ -13,6 +13,10 @@ in
|
|||
enable = mkEnableOption ''
|
||||
Enable plasma with my custom configurations
|
||||
'';
|
||||
|
||||
enableWallpaperEngine = mkEnableOption ''
|
||||
Enable wallpaper engine plugin for plasma
|
||||
'';
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
# Enable the X11 windowing system.
|
||||
|
@ -32,7 +36,7 @@ in
|
|||
discover
|
||||
kgpg
|
||||
yakuake
|
||||
|
||||
] ++ lib.optionals cfg.enableWallpaperEngine [
|
||||
### wallpaper-engine-plugin
|
||||
(callPackage "${nixpkgsPr}/pkgs/kde/third-party/wallpaper-engine-plugin/default.nix" {})
|
||||
qtmultimedia
|
||||
|
|
Loading…
Reference in a new issue