summaryrefslogtreecommitdiff
path: root/modules/nixos/des/hyprland.nix
blob: a8e908eba3926f27d6f915ad39ab2bc028025991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ config, lib, pkgs, ... }:

{
  # Only NixOS-level Hyprland configuration here
  # Home-manager config goes in modules/home/hyprland/chernobyl/
  
  programs.hyprland = {
    enable = true;
  };

  # Wayland support
  xwayland.enable = true;
  
  # XDG portal for Wayland
  xdg.portal = {
    enable = true;
    extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ];
  };
}