aboutsummaryrefslogtreecommitdiff
path: root/modules/nixos/des/hyprland.nix
blob: 1bb131a09aaa5b6685c9b75a83595632681411b6 (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/
  
  services.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 ];
  };
}