Recreated nix files
This commit is contained in:
+305
-302
File diff suppressed because it is too large
Load Diff
@@ -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.
|
||||
#+begin_src nix :tangle home/desktop/hyprscrolling.nix :noweb tangle :mkdirp yes
|
||||
{ config, lib, pkgs, flakeRoot, inputs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ jq ];
|
||||
hyprland-nix.packages.${config.nixpkgs.system}.hyprscrolling
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
plugins = with inputs.hyprland-nix.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||
hyprscrolling
|
||||
];
|
||||
};
|
||||
}
|
||||
#+end_src
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{ config, lib, pkgs, flakeRoot, inputs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ jq ];
|
||||
hyprland-nix.packages.${config.nixpkgs.system}.hyprscrolling
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
plugins = with inputs.hyprland-nix.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||
hyprscrolling
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user