This project provides espanso-wayland for NixOS, tested on NixOS with the hyprland configuration. It is based on the package available in the Nixpkgs repository.
-
Clone the Project:
git clone https://github.com/ingbarrozo/espanso.git -
Move the 'espanso' Folder: Move the downloaded espanso folder to your desired location.
-
Import the Module: In your home-manager configuration, import the espanso module. For example:
imports = [ ./espanso ];
-
Enable Espanso: Enable espanso in your home-manager configuration:
programs.espanso.enable = true;
-
Add User to 'input' Group: Ensure your user is part of the input group. For example:
users.users."yourusername".extraGroups = [ "input" ];
# Note Don't forget to run `nixos-rebuild` after making changes to your configuration.
-
Register Espanso Service: Run the following command to register the espanso service:
espanso service register -
Restart Espanso: Restart espanso to apply the changes:
espanso restart