2023-04-09 14:02:54 +02:00
|
|
|
Hyprland on Nix can be installed either from Nixpkgs (release version) or from
|
|
|
|
the [flake](https://github.com/hyprwm/Hyprland/blob/main/flake.nix) (directly
|
|
|
|
from the main branch).
|
2023-02-14 14:30:40 +01:00
|
|
|
|
2023-04-09 14:02:54 +02:00
|
|
|
If you use the flake, it is a good idea to set up [Cachix](./Cachix) before
|
|
|
|
continuing with installing Hyprland.
|
2023-02-14 14:30:40 +01:00
|
|
|
|
2023-04-09 14:02:54 +02:00
|
|
|
The methods of installation are described below:
|
2022-12-18 14:20:19 +01:00
|
|
|
|
2023-04-09 14:02:54 +02:00
|
|
|
## NixOS + Home Manager (recommended)
|
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).
|