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 = {
|
desktop = {
|
||||||
plasma.enable = true;
|
plasma = {
|
||||||
|
enable = true;
|
||||||
|
enableWallpaperEngine = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue