From 54cf1ff8d58336b0108192518288b1bada387cab Mon Sep 17 00:00:00 2001 From: bowlbird Date: Mon, 23 Sep 2024 00:03:11 +0000 Subject: [PATCH] updated docs and flake --- README.md | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e0c3a84..7b41767 100644 --- a/README.md +++ b/README.md @@ -60,19 +60,31 @@ Every one of these variables is also settable via the dispatcher, so you can cre 2. Run `hyprpm enable hyprEasymotion` ## NixOS (Flakes) +Please note, you should *also have hyprland as a flake input*. Add this repo to your flake inputs: -```Nix +```nix inputs = { + # ... + hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; - hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; - - hyprland-easymotion = { - url = "github:bowlbird/hyprland-easymotion"; - inputs.hyprland.follows = "hyprland"; - }; - + hyprland-easymotion = { + url = "github:bowlbird/hyprland-easymotion"; + inputs.hyprland.follows = "hyprland"; + }; + # ... }; +outputs = { self, hyprland, ... } @ inputs: + # ... ``` +Add the plugin to your Hyprland Home Manager config: +```nix +wayland.windowManager.hyprland = { + # ... + plugins = [ + inputs.hyprland-easymotion.packages.${pkgs.system}.hyprland-easymotion + ]; + # ... +}; # TODO - [ ] Blur?