Nix/HM: mention @spikespaz's module

This commit is contained in:
Mihai Fufezan 2023-12-13 00:48:50 +02:00
parent cf211f571d
commit 76033f0808
No known key found for this signature in database

View file

@ -1,13 +1,16 @@
To install Hyprland on NixOS, we provide a NixOS and a Home Manager module.
{{< hint title=Note >}}
- *(Required) NixOS Module*: enables critical components needed to run Hyprland properly
- *(Optional) Home-manager module*: lets you declaratively configure Hyprland
- _(Required) NixOS Module_: enables critical components needed to run Hyprland
properly
- _(Optional) Home-manager module_: lets you declaratively configure Hyprland
{{< /hint >}}
## NixOS module
The module is now upstreamed into Nixpkgs, which means all you need in your configuration is:
The module is now upstreamed into Nixpkgs, which means all you need in your
configuration is:
```nix
{config, pkgs, ...}: {
@ -17,7 +20,8 @@ The module is now upstreamed into Nixpkgs, which means all you need in your conf
}
```
Note that the command to run hyprland is `Hyprland` (with a capital `H`) and not `hyprland`.
Note that the command to run hyprland is `Hyprland` (with a capital `H`) and not
`hyprland`.
For more options, see
[module options](https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=hyprland).
@ -28,6 +32,10 @@ For other NixOS options, see [Hyprland on NixOS](./Hyprland-on-NixOS).
Read [Hyprland on Home Manager](./Hyprland-on-Home-Manager).
For the adventurous, [@spikespaz](https://github.com/spikespaz) has made a
Hyprland module that can be used in Home Manager and NixOS. It can be found
[here](https://github.com/spikespaz/hyprland-nix).
## Options and overrides
Read [Options & Overrides](./Options-Overrides).