summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/nixos/des/hyprland.nix17
1 files changed, 12 insertions, 5 deletions
diff --git a/modules/nixos/des/hyprland.nix b/modules/nixos/des/hyprland.nix
index ba68866..bb18225 100644
--- a/modules/nixos/des/hyprland.nix
+++ b/modules/nixos/des/hyprland.nix
@@ -1,19 +1,26 @@
{ config, lib, pkgs, ... }:
+{ config, lib, pkgs, ... }:
+
{
- # Only NixOS-level Hyprland configuration here
- # Home-manager config goes in modules/home/hyprland/chernobyl/
+ # Disable X11 for Wayland-only setup
+ services.xserver.enable = false;
+ # Enable Hyprland
programs.hyprland = {
enable = true;
};
- # Wayland support
- services.xserver.xwayland.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
+ ];
} \ No newline at end of file