Files
nixos-setup/modules/optional/hyprland.nix
T
2024-04-29 11:26:18 -04:00

50 lines
845 B
Nix

{ user }:
{ pkgs, ... }:
{
programs.hyprland = {
enable = true;
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
};
programs.waybar.enable = true;
environment.systemPackages = with pkgs; [
# common utilities
busybox
scdoc
mpv
gcc
# apps
kitty
# sound
pavucontrol
# notification daemon
dunst
libnotify
# hypland
lxqt.lxqt-policykit
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
# screenshots
grim
swappy
slurp
# networking
networkmanagerapplet
libsForQt5.plasma-nm
# waybar
meson
wl-clipboard
wlroots
cliphist
# app launchers
rofi-wayland
wofi
];
services.mpd.enable = true;
services.pipewire.wireplumber.enable = true;
users.users.${user.name}.extraGroups = [
"input"
];
}