From b0bbeea8cc2cf0e2b0faa179cef0ef81ac7dc5e4 Mon Sep 17 00:00:00 2001 From: Scott Scoble Date: Sat, 16 May 2026 17:02:11 -0700 Subject: [PATCH] Fix: clear SDDM state, default hyprland session --- modules/hyprland.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/modules/hyprland.nix b/modules/hyprland.nix index 1200e70..8e3935f 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -10,7 +10,7 @@ # Session variables environment.sessionVariables.NIXOS_OZONE_WL = "1"; - # Security — required for hyprlock + # Security - required for hyprlock security.pam.services.hyprlock = {}; # Polkit for GUI auth prompts @@ -28,18 +28,13 @@ }; }; - # Display manager — SDDM (stable for Hyprland, doesn't lock TTYs) + # Display manager - SDDM services.displayManager.sddm = { enable = true; wayland.enable = true; }; - # Force Hyprland (non-uwsm) as default SDDM session - services.displayManager.session = [{ - manage = "window"; - desktopName = "Hyprland"; - wmCommand = "Hyprland"; - }]; + services.displayManager.defaultSession = "hyprland"; # XDG portal for Wayland xdg.portal = {