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.
This commit is contained in:
2025-08-11 13:51:24 -03:00
parent c74f623232
commit eb58a62168
15 changed files with 810 additions and 22 deletions

View File

@@ -23,7 +23,6 @@
];
environment.systemPackages = with pkgs; [
gnomeExtensions.appindicator
gsettings-desktop-schemas
];
}

View File

@@ -9,6 +9,22 @@
};
};
# 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;

View File

@@ -14,5 +14,17 @@
portalPackage = pkgs.xdg-desktop-portal-hyprland;
};
# Enable UWSM for better Wayland session management
programs.uwsm = {
enable = true;
waylandCompositors = {
hyprland = {
prettyName = "Hyprland";
comment = "Hyprland Wayland compositor";
binPath = "/run/current-system/sw/bin/Hyprland";
};
};
};
environment.sessionVariables.NIXOS_OZONE_WL = "1";
}

View File

@@ -1,10 +1,10 @@
# NOTE(starter): This is just a basic enabling of the XFCE windows manager for simplicity
{
services.displayManager = {
services.displayManager = {
sddm.enable = true;
sddm.wayland = {
enable = true;
compositor = "kwin";
};
};
};
}

View File

@@ -74,8 +74,8 @@
"hosts/common/optional/services/docker.nix"
"hosts/common/optional/services/tailscale.nix"
"hosts/common/optional/audio.nix" # pipewire and cli controls
"hosts/common/optional/hyprland.nix"
"hosts/common/optional/greetd.nix"
"hosts/common/optional/gnome.nix"
"hosts/common/optional/gdm.nix"
"hosts/common/optional/flatpak.nix"
"hosts/common/optional/thermal-management.nix"