Skip to content

Hyprland

programs.hyprland.enable

Whether to enable Hyprland, the dynamic tiling Wayland compositor that doesn't sacrifice on its looks. You can manually launch Hyprland by executing {command}Hyprland on a TTY. A configuration file will be generated in {file}~/.config/hypr/hyprland.conf. See https://wiki.hyprland.org for more information. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/wayland/hyprland.nix

programs.hyprland.package

The hyprland package to use. If the package is not overridable with enableXWayland, then the module option {option}xwayland will have no effect.

Type: package

Default

pkgs.hyprland

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/wayland/hyprland.nix

programs.hyprland.portalPackage

The xdg-desktop-portal-hyprland package to use. If the package is not overridable with hyprland, then the Hyprland package used by the portal may differ from the one set in the module option {option}package.

Type: package

Default

pkgs.xdg-desktop-portal-hyprland

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/wayland/hyprland.nix

programs.hyprland.systemd.setPath.enable

Set environment path of systemd to include the current system's bin directory. This is needed in Hyprland setups, where opening links in applications do not work. Enabled by default for Hyprland versions older than 0.41.2.

Type: boolean

Default

lib.versionOlder cfg.package.version "0.41.2"

Example

false

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/wayland/hyprland.nix

programs.hyprland.xwayland.enable

Whether to enable XWayland. Type: boolean

Default

true

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/programs/wayland/hyprland.nix