Nix: add hint about NixOS module being required

This commit is contained in:
Mihai Fufezan 2023-09-04 18:46:31 +03:00
parent 26ede94ddd
commit c900d5b924
No known key found for this signature in database
3 changed files with 10 additions and 1 deletions

View file

@ -3,6 +3,10 @@ You can use the Home Manager module by adding it to your configuration:
For a list of available options, check the For a list of available options, check the
[module file](https://github.com/hyprwm/Hyprland/blob/main/nix/hm-module.nix). [module file](https://github.com/hyprwm/Hyprland/blob/main/nix/hm-module.nix).
{{< hint title=Note >}}
- *(Required) NixOS Module*: enables critical components needed to run Hyprland properly
- *(Optional) Home-manager module*: lets you declaratively configure Hyprland
{{< /hint >}}
## Installation ## Installation

View file

@ -7,6 +7,11 @@ your Display Manager.
Make sure to check out the options of the Make sure to check out the options of the
[NixOS module](https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=hyprland). [NixOS module](https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=hyprland).
{{< hint title=Note >}}
- *(Required) NixOS Module*: enables critical components needed to run Hyprland properly
- *(Optional) Home-manager module*: lets you declaratively configure Hyprland
{{< /hint >}}
{{< tabs "uniqueid" >}} {{< tabs "uniqueid" >}}
{{< tab "Nixpkgs" >}} {{< tab "Nixpkgs" >}}

View file

@ -1,6 +1,6 @@
To install Hyprland on NixOS, we provide a NixOS and a Home Manager module. To install Hyprland on NixOS, we provide a NixOS and a Home Manager module.
{{< hint title=note >}} {{< hint title=Note >}}
- *(Required) NixOS Module*: enables critical components needed to run Hyprland properly - *(Required) NixOS Module*: enables critical components needed to run Hyprland properly
- *(Optional) Home-manager module*: lets you declaratively configure Hyprland - *(Optional) Home-manager module*: lets you declaratively configure Hyprland
{{< /hint >}} {{< /hint >}}