From a9823d99c22b7855f5b2b18e9b08b17387e57904 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sun, 15 Sep 2024 18:56:15 +0200 Subject: [PATCH] modules(plasma): Add wallpaper engine + add yakuake and kgpg --- flake.nix | 2 +- modules/system/desktop/plasma/default.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 5ec27f8..13bc24a 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,7 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - nur.url = github:nix-community/NUR; + nur.url = "github:nix-community/NUR"; home-manager = { url = "github:nix-community/home-manager"; diff --git a/modules/system/desktop/plasma/default.nix b/modules/system/desktop/plasma/default.nix index 261b54f..0dad1a4 100644 --- a/modules/system/desktop/plasma/default.nix +++ b/modules/system/desktop/plasma/default.nix @@ -3,6 +3,10 @@ with lib; let cfg = config.modules.system.desktop.plasma; + nixpkgsPr = builtins.fetchTarball { + url = "https://github.com/Sicheng-Pan/nixpkgs/archive/5ba93319d81da028339755243fa405556a2b18d7.tar.gz"; + sha256 = "0xiighffwyhis6ni815s6bqcrvhsr3s7c208sq3c4y5p2f1g397w"; + }; in { options.modules.system.desktop.plasma = { @@ -26,6 +30,17 @@ in environment.systemPackages = with pkgs; with kdePackages; [ krfb # Use by kdeconnect for virtualmonitorplugin "krfb-virtualmonitor" discover + kgpg + yakuake + + ### wallpaper-engine-plugin + (callPackage "${nixpkgsPr}/pkgs/kde/third-party/wallpaper-engine-plugin/default.nix" {}) + qtmultimedia + qtwebchannel + qtwebengine + qtwebsockets + (python3.withPackages (python-pkgs: [ python-pkgs.websockets ])) + ### ]; }; }