From ca036fe20a953fef20616cdc69a369641f3de817 Mon Sep 17 00:00:00 2001 From: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> Date: Thu, 8 May 2025 09:13:44 +0530 Subject: [PATCH] feat: add kwin force blur --- flake.lock | 57 +++++++++++++++++++++++++++++++++- flake.nix | 5 +++ hosts/default/desktops/kde.nix | 3 +- 3 files changed, 63 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index fb4b382..91fed5a 100644 --- a/flake.lock +++ b/flake.lock @@ -358,6 +358,27 @@ "type": "github" } }, + "kwin-effects-forceblur": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ], + "utils": "utils" + }, + "locked": { + "lastModified": 1745057346, + "narHash": "sha256-71cyYKUul9owRzbcObXkzhTBcmnXJsvmk1gq0RbP5PQ=", + "owner": "taj-ny", + "repo": "kwin-effects-forceblur", + "rev": "fea9f80f27389aa8a62befb5babf40b28fed328d", + "type": "github" + }, + "original": { + "owner": "taj-ny", + "repo": "kwin-effects-forceblur", + "type": "github" + } + }, "lanzaboote": { "inputs": { "crane": "crane", @@ -624,6 +645,7 @@ "root": { "inputs": { "home-manager": "home-manager", + "kwin-effects-forceblur": "kwin-effects-forceblur", "lanzaboote": "lanzaboote", "nix-index-database": "nix-index-database", "nix-on-droid": "nix-on-droid", @@ -705,7 +727,7 @@ "nixpkgs" ], "nur": "nur", - "systems": "systems", + "systems": "systems_2", "tinted-foot": "tinted-foot", "tinted-kitty": "tinted-kitty", "tinted-schemes": "tinted-schemes", @@ -741,6 +763,21 @@ "type": "github" } }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "tinted-foot": { "flake": false, "locked": { @@ -844,6 +881,24 @@ "repo": "treefmt-nix", "type": "github" } + }, + "utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1726560853, + "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index ed60755..d1ae532 100644 --- a/flake.nix +++ b/flake.nix @@ -29,6 +29,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + kwin-effects-forceblur = { + url = "github:taj-ny/kwin-effects-forceblur"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; outputs = diff --git a/hosts/default/desktops/kde.nix b/hosts/default/desktops/kde.nix index 49b9e6e..4c6dc08 100644 --- a/hosts/default/desktops/kde.nix +++ b/hosts/default/desktops/kde.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ inputs, pkgs, ... }: { home-manager.users.h = import ../home/kde.nix; services = { @@ -11,6 +11,7 @@ }; environment.systemPackages = with pkgs; [ kdePackages.sddm-kcm + inputs.kwin-effects-forceblur.packages.${pkgs.system}.default ]; environment.plasma6.excludePackages = with pkgs; [