Menno van Leeuwen 7a1d88476e
All checks were successful
Nix Format Check / check-format (push) Successful in 40s
adds hyprland wd with required stuff
2024-12-23 14:08:09 +01:00

56 lines
1.1 KiB
Nix

{
pkgs,
hyprland,
hyprland-plugins,
...
}:
{
environment.sessionVariables.NIXOS_OZONE_WL = "1";
environment.variables = {
TERM = "xterm-256color";
};
security.pam.services.login.enableGnomeKeyring = true;
services.gnome.gnome-keyring.enable = true;
programs.hyprland = {
enable = true;
xwayland.enable = true;
package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
};
environment.systemPackages = with pkgs; [
# Authentification agent
polkit_gnome
(writeShellScriptBin "polkit-agent" ''
exec ${polkit_gnome}/libexec/polkit-gnome-authentication-agent-1
'')
# Lock screen
hyprlock
# Lock screen idle timer
hypridle
# Notifications
swaynotificationcenter
# Hyprland plugins
hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprbars
# Hyprpaper for wallpapers
hyprpaper
# Playerctl for media keys
playerctl
# network manager applet
networkmanagerapplet
# blueman applet
blueman
];
security.polkit.enable = true;
}