# Hyprland ## Packages
NixOS (flakes, home-manager) ```{code-block} nix :caption: flake.nix { inputs = { inputactions-ctl = { url = "git+https://github.com/InputActions/ctl?submodules=1"; inputs.nixpkgs.follows = "nixpkgs"; }; inputactions-hyprland = { url = "git+https://github.com/InputActions/hyprland?submodules=1"; inputs.nixpkgs.follows = "nixpkgs"; }; }; } ``` ```{code-block} nix :caption: home-configuration.nix { home.packages = [ inputs.inputactions-ctl.packages.${pkgs.system}.default ]; wayland.windowManager.hyprland.plugins = [ inputs.inputactions-hyprland.packages.${pkgs.system}.default ]; } ``` Optionally, add the official binary cache if compilation times are an issue: ```{code-block} nix :caption: configuration.nix { nix.settings = { extra-substituters = ["https://inputactions.cachix.org"]; extra-trusted-public-keys = ["inputactions.cachix.org-1:yBGhAqTOv0V08lrOTBwMAkU7V/9a0i2UPvsvCu39CjE="]; }; } ```
## Manual (hyprpm) ### Dependencies
Arch Linux ``` sudo pacman -S --needed base-devel git extra-cmake-modules qt6-tools yaml-cpp libevdev cli11 ```
### Installation First, install the control tool: ```sh curl -o inputactions-installer.sh https://raw.githubusercontent.com/taj-ny/InputActions/refs/heads/main/install.sh chmod +x inputactions-installer.sh ./inputactions-installer.sh --ctl --latest ``` Then, build the Hyprland plugin. Read first. ``` hyprpm add https://github.com/InputActions/hyprland ``` ## Additional setup (optional) To enable [extra touchpad features](/devices/touchpad/index.md#evdev-backend), create a file at ``/etc/udev/rules.d/71-touchpad.rules`` with the following content: ``` ENV{ID_INPUT_TOUCHPAD}=="1", TAG+="uaccess" ``` This will give all programs read and write access to all touchpads.