Fix: clear SDDM state, default hyprland session
This commit is contained in:
parent
0b467a784b
commit
b0bbeea8cc
1 changed files with 3 additions and 8 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
# Session variables
|
# Session variables
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
# Security — required for hyprlock
|
# Security - required for hyprlock
|
||||||
security.pam.services.hyprlock = {};
|
security.pam.services.hyprlock = {};
|
||||||
|
|
||||||
# Polkit for GUI auth prompts
|
# 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 = {
|
services.displayManager.sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wayland.enable = true;
|
wayland.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Force Hyprland (non-uwsm) as default SDDM session
|
services.displayManager.defaultSession = "hyprland";
|
||||||
services.displayManager.session = [{
|
|
||||||
manage = "window";
|
|
||||||
desktopName = "Hyprland";
|
|
||||||
wmCommand = "Hyprland";
|
|
||||||
}];
|
|
||||||
|
|
||||||
# XDG portal for Wayland
|
# XDG portal for Wayland
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue