diff --git a/hosts/perso-desktop/configuration.nix b/hosts/perso-desktop/configuration.nix index 8a538d4..99b3ba2 100644 --- a/hosts/perso-desktop/configuration.nix +++ b/hosts/perso-desktop/configuration.nix @@ -25,7 +25,10 @@ }; desktop = { - plasma.enable = true; + plasma = { + enable = true; + enableWallpaperEngine = true; + }; }; hardware = { diff --git a/modules/system/desktop/plasma/default.nix b/modules/system/desktop/plasma/default.nix index 0dad1a4..0cc1939 100644 --- a/modules/system/desktop/plasma/default.nix +++ b/modules/system/desktop/plasma/default.nix @@ -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