Recreated nix files

This commit is contained in:
2026-03-03 11:41:05 +01:00
parent be1ab9ee72
commit 5151c86d16
3 changed files with 317 additions and 308 deletions
+305 -302
View File
File diff suppressed because it is too large Load Diff
+6 -3
View File
@@ -1795,9 +1795,12 @@ They are configured below.
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. 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 #+begin_src nix :tangle home/desktop/hyprscrolling.nix :noweb tangle :mkdirp yes
{ config, lib, pkgs, flakeRoot, inputs, ... }: { config, lib, pkgs, flakeRoot, inputs, ... }:
{ wayland.windowManager.hyprland = {
home.packages = with pkgs; [ jq ]; enable = true;
hyprland-nix.packages.${config.nixpkgs.system}.hyprscrolling plugins = with inputs.hyprland-nix.packages.${pkgs.stdenv.hostPlatform.system}; [
hyprscrolling
];
};
} }
#+end_src #+end_src
+6 -3
View File
@@ -1,5 +1,8 @@
{ config, lib, pkgs, flakeRoot, inputs, ... }: { config, lib, pkgs, flakeRoot, inputs, ... }:
{ wayland.windowManager.hyprland = {
home.packages = with pkgs; [ jq ]; enable = true;
hyprland-nix.packages.${config.nixpkgs.system}.hyprscrolling plugins = with inputs.hyprland-nix.packages.${pkgs.stdenv.hostPlatform.system}; [
hyprscrolling
];
};
} }