greetd now runs a throwaway Hyprland hosting dotfiles/quickshell/greeter.qml, configured per host via homelab.greeter. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
32 lines
852 B
Nix
32 lines
852 B
Nix
{ pkgs, ... }:
|
|
|
|
# Hyprland (wayland) desktop: compositor, login manager, audio, portals.
|
|
{
|
|
imports = [ ./quickshell-greeter.nix ];
|
|
|
|
programs.hyprland.enable = true;
|
|
|
|
services.gnome.gnome-keyring.enable = true;
|
|
security.pam.services.login.enableGnomeKeyring = true;
|
|
security.pam.services.greetd.enableGnomeKeyring = true;
|
|
|
|
# Audio (pipewire replaces pulseaudio/jack).
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
pulse.enable = true;
|
|
};
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
extraPortals = [ pkgs.xdg-desktop-portal-hyprland pkgs.xdg-desktop-portal-cosmic ];
|
|
config.common.default = [ "hyprland" "cosmic" ];
|
|
};
|
|
|
|
hardware.graphics.enable = true; # OpenGL/Vulkan for the compositor + apps
|
|
services.libinput.enable = true;
|
|
|
|
networking.networkmanager.enable = true;
|
|
}
|