Recreated nix files
This commit is contained in:
+306
-305
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
};
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user