2023-02-14 14:30:40 +01:00
|
|
|
First of all, it is a good idea to set up [Cachix](./Cachix) before continuing
|
|
|
|
with installing Hyprland.
|
|
|
|
|
|
|
|
After getting Cachix working, you have a few options ahead:
|
|
|
|
|
|
|
|
## NixOS + Home Manager (recommended)
|
2022-08-13 19:06:18 +02:00
|
|
|
|
2022-08-29 18:32:20 +02:00
|
|
|
{{< hint type=warning >}}
|
2022-12-18 14:20:19 +01:00
|
|
|
|
2022-08-29 18:32:20 +02:00
|
|
|
Hyprland is NOT supported on NixOS stable. It may (not) compile or
|
2022-08-13 19:06:18 +02:00
|
|
|
work as intended. Please use the
|
|
|
|
[flake](https://github.com/hyprwm/Hyprland/blob/main/flake.nix).
|
2022-08-12 20:46:36 +02:00
|
|
|
|
2022-08-13 19:06:18 +02:00
|
|
|
{{< /hint >}}
|
2022-08-12 20:46:36 +02:00
|
|
|
|
2023-02-14 14:30:40 +01:00
|
|
|
If you're on NixOS and also use HM, it is a good idea to use Hyprland modules
|
|
|
|
for both. Make sure the package options are the same for both modules.
|
|
|
|
|
|
|
|
Read [Hyprland on NixOS](./Hyprland-on-NixOS) and
|
|
|
|
[Hyprland on Home Manager](./Hyprland-on-Home-Manager).
|
|
|
|
|
|
|
|
## Home Manager only
|
2022-09-09 16:53:49 +02:00
|
|
|
|
2023-02-14 14:30:40 +01:00
|
|
|
If you do not plan on using the NixOS module, but want to use the HM module, you
|
|
|
|
will have to enable all the options the NixOS module enables.
|
2022-12-09 13:38:13 +01:00
|
|
|
|
2023-02-14 14:30:40 +01:00
|
|
|
Read [Hyprland on Home Manager](./Hyprland-on-Home-Manager).
|
2022-08-12 20:46:36 +02:00
|
|
|
|
2023-02-14 14:30:40 +01:00
|
|
|
## On your own
|
2022-08-12 20:46:36 +02:00
|
|
|
|
2023-02-14 14:30:40 +01:00
|
|
|
If you don't plan on using any module, manually enable all the options that the
|
|
|
|
modules have set.
|
2022-08-12 20:46:36 +02:00
|
|
|
|
2023-02-14 14:30:40 +01:00
|
|
|
Read [the sources](https://github.com/hyprwm/Hyprland/tree/main/nix).
|