aboutsummaryrefslogtreecommitdiff
path: root/modules/nixos/des/hyprland.nix
blob: bb1822538c60235947eef15e400c80328013827f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ config, lib, pkgs, ... }:

{ config, lib, pkgs, ... }:

{
  # Disable X11 for Wayland-only setup
  services.xserver.enable = false;
  
  # Enable Hyprland
  programs.hyprland = {
    enable = true;
  };

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

  # Required Wayland packages
  environment.systemPackages = with pkgs; [
    qt6.qtwayland
    qt6.qttools
    hyprpolkitagent
  ];
}