Nix
Hyprland on NixOS

Hyprland on NixOS

The NixOS module enables critical components needed to run Hyprland properly, such as polkit, xdg-desktop-portal-hyprland, graphics drivers, fonts, dconf, xwayland, and adding a proper Desktop Entry to your Display Manager.

Make sure to check out the options of the NixOS module.

  • (Required) NixOS Module: enables critical components needed to run Hyprland properly
    • Without this, you may have issues with XDG Portals, or missing session files in your Display Manager.
  • (Optional) Home Manager module: lets you configure Hyprland declaratively through Home Manager.
    • This module configures Hyprland and adds it to your user’s $PATH, but does not make certain system-level changes such as adding a desktop session file for your display manager. This is handled by the NixOS module once you enable it.

Fixing problems with themes

If your themes for mouse cursors, icons or windows don’t load correctly, see the relevant section in Hyprland on Home Manager.