Hyprland Wiki
Contribute to the Wiki! Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Nix

To install Hyprland on NixOS, we provide a NixOS and a Home Manager module.

  • (Required) NixOS Module: enables critical components needed to run Hyprland properly
  • (Optional) Home-manager module: lets you declaratively configure Hyprland

NixOS module

The module is now upstreamed into Nixpkgs, which means all you need in your configuration is:

{config, pkgs, ...}: {
  programs.hyprland.enable = true;
  # Optional, hint electron apps to use wayland:
  # environment.sessionVariables.NIXOS_OZONE_WL = "1";
}

For more options, see module options.

For other NixOS options, see Hyprland on NixOS.

Home-manager module

Read Hyprland on Home Manager.