a0385efe7e
This reverts commit 2b0e4b5cd1.
68 lines
1.0 KiB
Nix
68 lines
1.0 KiB
Nix
#
|
|
# Configuration for a Hyprland stack
|
|
#
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./base.nix
|
|
./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 = with pkgs; [
|
|
xdg-desktop-portal-gtk
|
|
xdg-desktop-portal-hyprland
|
|
];
|
|
xdg.portal.config.hyprland.default = [
|
|
"hyprland"
|
|
"gtk"
|
|
];
|
|
|
|
# Supplementary packages
|
|
environment.systemPackages = with pkgs; [
|
|
# Hyprland stack
|
|
dunst
|
|
hyprcursor
|
|
hypridle
|
|
hyprland
|
|
hyprlock
|
|
rofi
|
|
awww
|
|
waybar
|
|
wlsunset
|
|
wofi
|
|
|
|
# Helpers
|
|
flatpak
|
|
networkmanagerapplet
|
|
python3
|
|
xdg-utils
|
|
|
|
# Common utilities
|
|
brightnessctl
|
|
foot
|
|
pavucontrol
|
|
pulseaudio # For pactl
|
|
|
|
# Clipboarding
|
|
grim
|
|
slurp
|
|
wl-clipboard
|
|
];
|
|
|
|
# Cursor theme for Hyprland and regular Wayland/XWayland clients.
|
|
environment.sessionVariables = {
|
|
XCURSOR_THEME = "breeze_cursors";
|
|
XCURSOR_SIZE = "24";
|
|
HYPRCURSOR_SIZE = "24";
|
|
};
|
|
}
|