Recreated nix files

This commit is contained in:
2026-03-03 11:43:21 +01:00
parent 342131106d
commit e5520636b2
3 changed files with 320 additions and 317 deletions
+306 -305
View File
File diff suppressed because it is too large Load Diff
+7 -6
View File
@@ -1792,12 +1792,13 @@ 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 = { {
enable = true; wayland.windowManager.hyprland = {
plugins = with inputs.hyprland-nix.packages.${pkgs.stdenv.hostPlatform.system}; [ enable = true;
hyprscrolling plugins = with inputs.hyprland-nix.packages.${pkgs.stdenv.hostPlatform.system}; [
]; hyprscrolling
}; ];
};
} }
#+end_src #+end_src
+7 -6
View File
@@ -1,8 +1,9 @@
{ config, lib, pkgs, flakeRoot, inputs, ... }: { config, lib, pkgs, flakeRoot, inputs, ... }:
wayland.windowManager.hyprland = { {
enable = true; wayland.windowManager.hyprland = {
plugins = with inputs.hyprland-nix.packages.${pkgs.stdenv.hostPlatform.system}; [ enable = true;
hyprscrolling plugins = with inputs.hyprland-nix.packages.${pkgs.stdenv.hostPlatform.system}; [
]; hyprscrolling
}; ];
};
} }