dots/modules/linux/hyprland.nix
Nico 909f80b06b Revert "nix: start hyprland with UWSM (systemd session)"
This reverts commit df552a33cdd7b94101097d1930f490ab64128aa5.
2025-05-03 16:34:34 +10:00

30 lines
567 B
Nix

{ config, lib, pkgs, self, ... }:
{
programs.hyprland.enable = true;
# Optional, hint electron apps to use wayland:
environment.sessionVariables.NIXOS_OZONE_WL = "1";
# have portals
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
programs.hyprlock.enable = true;
environment.systemPackages = with pkgs; [
kitty
waybar
swww
grim
slurp
wl-clipboard
brightnessctl
helvum
ulauncher
playerctl
swaynotificationcenter
hyprshot
];
programs.ssh.startAgent = true;
}