inputs.hyprland-plugins.packages.${pkgs.system};

This commit is contained in:
2026-03-02 19:30:48 +01:00
parent c44e8d196b
commit 5c89fda8ac
2 changed files with 18 additions and 535 deletions
+12 -12
View File
@@ -664,11 +664,11 @@ The inputs for my system's configuration are very simple
url = "github:youwen5/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
# hyprland.url = "github:hyprwm/Hyprland";
# hyprland-plugins = {
# url = "github:hyprwm/hyprland-plugins";
# inputs.hyprland.follows = "hyprland";
# };
hyprland.url = "github:hyprwm/Hyprland";
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
};
<<flake-outputs>>
}
@@ -1744,17 +1744,17 @@ They are configured below.
** hyprscrolling
This Nix module integrates the hyprscrolling plugin into a Home-Manager managed Hyprland setup in a declarative and reproducible way. It ensures the plugin is installed, optionally switches Hyprland to the scrolling layout, and renders user-defined plugin settings directly into the Hyprland configuration. The goal is to manage the scrolling workspace behavior entirely from Nix instead of maintaining manual edits inside hyprland.conf.
#+begin_src nix :tangle home/desktop/hyprscrolling.nix :noweb tangle :mkdirp yes
{ config, lib, pkgs, flakeRoot, ... }:
{ config, lib, pkgs, flakeRoot, inputs, ... }:
{
home.packages = with pkgs; [ jq ];
wayland.windowManager.hyprland = {
enable = true;
plugins = [ pkgs.hyprlandPlugins.hyprscrolling
pkgs.hyprlandPlugins.hyprspace
# pkgs.hyprlandPlugins.hyprsunset
pkgs.hyprlandPlugins.HyprEasymotion
];
plugins = with inputs.hyprland-plugins.packages.${pkgs.system}; [
hyprscrolling
hyprspace
hyprsunset
HyprEasymotion
];
};
}
#+end_src