Files
nix/desktop/hyprland.nix
T
2026-05-03 01:10:55 -05:00

53 lines
754 B
Nix

#
# Configuration for a Hyprland stack
#
{ config, lib, pkgs, ... }:
{
imports = [
./flatpak.nix
./fonts.nix
./sddm.nix
];
services.displayManager.defaultSession = "hyprland";
# Hyprland as the star of the show
programs.hyprland.enable = true;
# XDG portal
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
# Supplementary packages
environment.systemPackages = with pkgs; [
# Hyprland stack
dunst
hyprcursor
hypridle
hyprland
hyprlock
rofi
swww
waybar
wlsunset
wofi
# Helpers
flatpak
networkmanagerapplet
python3
xdg-utils
# Common utilities
brightnessctl
foot
pavucontrol
pulseaudio # For pactl
# Clipboarding
grim
slurp
wl-clipboard
];
}