Document home manager plugins array (#221)

This commit is contained in:
outfoxxed 2023-05-11 00:38:41 -07:00 committed by GitHub
parent d29033543d
commit 5e49caad46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -68,6 +68,21 @@ to wlroots), you can do so by either using the `hyprland-no-hidpi` package,
or by passing the `hidpiXWayland = false;` flag, the same way as
[disabling XWayland](#package).
### Plugins
Hyprland plugins can be added through the home manager module.
```nix
wayland.windowManager.hyprland = {
plugins = [
inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars
"/absolute/path/to/plugin.so"
];
};
```
For examples on how to build hyprland plugins using nix see the [offical plugins](https://github.com/hyprwm/hyprland-plugins).
### Nvidia Patches
Nvidia is notorious for not working by default with wlroots. That's why we