54 lines
872 B
Nix
54 lines
872 B
Nix
#
|
|
# Configuration for a Hyprland stack
|
|
#
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./flatpak.nix
|
|
./fonts.nix
|
|
];
|
|
# Enable SDDM as our display manager
|
|
services.displayManager.sddm.enable = true;
|
|
services.displayManager.sddm.wayland.enable = true;
|
|
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
|
|
hyprland
|
|
hypridle
|
|
hyprlock
|
|
rofi-wayland
|
|
swww
|
|
waybar
|
|
wlsunset
|
|
wofi
|
|
|
|
# Helpers
|
|
flatpak
|
|
networkmanagerapplet
|
|
python3
|
|
xdg-utils
|
|
|
|
# Common utilities
|
|
brightnessctl
|
|
foot
|
|
pavucontrol
|
|
pulseaudio # For pactl
|
|
|
|
# Clipboarding
|
|
grim
|
|
slurp
|
|
wl-clipboard
|
|
];
|
|
}
|