Files
nix-config/hosts/common/optional/greetd.nix
Thomas Syms eb58a62168 feat: transition from Hyprland to GNOME desktop environment
- Updated Bellerophon configuration to include GNOME desktop settings and packages.
- Added GNOME-specific packages and extensions for enhanced user experience.
- Introduced scripts for display management tailored for ZenBook Duo under GNOME.
- Implemented systemd services for automatic display management and backlight control.
- Integrated UWSM for improved session management in Hyprland.
- Enhanced lid monitoring and USB display management scripts for ZenBook Duo.
- Configured keyring support for GNOME and integrated it with PAM.
- Updated display manager settings to enable GDM for GNOME sessions.
2025-08-11 13:51:24 -03:00

32 lines
961 B
Nix

{pkgs, ...}: {
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd ${pkgs.hyprland}/bin/Hyprland";
user = "greeter";
};
};
};
# Enable the GNOME Keyring daemon system-wide
services.gnome.gnome-keyring.enable = true;
# Enable GNOME Keyring support in PAM
security.pam.services.greetd.enableGnomeKeyring = true;
security.pam.services.login.enableGnomeKeyring = true;
# Ensure gnome-keyring daemon runs for user sessions
systemd.user.services.gnome-keyring = {
wantedBy = ["default.target"];
serviceConfig = {
ExecStart = "${pkgs.gnome-keyring}/bin/gnome-keyring-daemon --start --foreground --components=pkcs11,secrets,ssh";
Restart = "on-abort";
};
};
# Disable conflicting getty services on tty1
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
}