switch to hyprland

This commit is contained in:
2025-06-26 14:39:35 +02:00
parent 6aaf47bf23
commit 384537d3c2
2 changed files with 33 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
{ config, pkgs, lib, ... }:
{
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
environment.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
NIXOS_OZONE_WL = "1";
};
hardware = {
opengl.enable = true;
};
environment.systemPackages = [
(pkgs.waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];
}))
pkgs.dunst
pkgs.libnotify
pkgs.swww
pkgs.kitty
pkgs.rofi-wayland
];
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
}