mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-21 20:35:57 +01:00
Nix/HM: mention @spikespaz's module
This commit is contained in:
parent
cf211f571d
commit
76033f0808
1 changed files with 13 additions and 5 deletions
|
@ -1,13 +1,16 @@
|
||||||
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
|
|
||||||
- *(Optional) Home-manager module*: lets you declaratively configure Hyprland
|
- _(Required) NixOS Module_: enables critical components needed to run Hyprland
|
||||||
{{< /hint >}}
|
properly
|
||||||
|
- _(Optional) Home-manager module_: lets you declaratively configure Hyprland
|
||||||
|
{{< /hint >}}
|
||||||
|
|
||||||
## NixOS module
|
## 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
|
```nix
|
||||||
{config, pkgs, ...}: {
|
{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
|
For more options, see
|
||||||
[module options](https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=hyprland).
|
[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).
|
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
|
## Options and overrides
|
||||||
|
|
||||||
Read [Options & Overrides](./Options-Overrides).
|
Read [Options & Overrides](./Options-Overrides).
|
||||||
|
|
Loading…
Reference in a new issue