diff --git a/configuration.nix b/configuration.nix index 59c1bcb..ac6270f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -163,6 +163,7 @@ ffmpeg-full yt-dlp + qbittorrent bottles # windows emulation diff --git a/flake.lock b/flake.lock index ae48cbe..59e4069 100644 --- a/flake.lock +++ b/flake.lock @@ -52,11 +52,35 @@ "type": "github" } }, + "plasma-manager": { + "inputs": { + "home-manager": [ + "home-manager" + ], + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1767662275, + "narHash": "sha256-d5Q1GmQ+sW1Bt8cgDE0vOihzLaswsm8cSdg8124EqXE=", + "owner": "nix-community", + "repo": "plasma-manager", + "rev": "51816be33a1ff0d4b22427de83222d5bfa96d30e", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "plasma-manager", + "type": "github" + } + }, "root": { "inputs": { "home-manager": "home-manager", "nix-flatpak": "nix-flatpak", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs", + "plasma-manager": "plasma-manager" } } }, diff --git a/flake.nix b/flake.nix index 7cbdcd6..6b38be5 100644 --- a/flake.nix +++ b/flake.nix @@ -6,6 +6,11 @@ home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest"; + plasma-manager = { + url = "github:nix-community/plasma-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + inputs.home-manager.follows = "home-manager"; + }; }; outputs = diff --git a/home.nix b/home.nix index 0f4f89d..1058ca4 100644 --- a/home.nix +++ b/home.nix @@ -1,6 +1,7 @@ { lib, pkgs, + inputs, ... }: @@ -39,6 +40,7 @@ imports = [ ./homemanager/mpv.nix ./hosts/sandalphon/mcsr/home.nix + inputs.plasma-manager.homeModules.plasma-manager ]; # dconf.settings = {}; @@ -70,5 +72,10 @@ # }; # }; + programs.plasma = { + enable = true; + kwin.edgeBarrier = 50; + }; + programs.home-manager.enable = true; }