Override sessions list, remove uwsm variant
This commit is contained in:
parent
7a4a40c06f
commit
0b467a784b
1 changed files with 9 additions and 5 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Session variables
|
# Session variables
|
||||||
environment.sessionVariables.NIXLOS_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 = {};
|
||||||
|
|
@ -28,15 +28,19 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Display manager — SSDM (stable for Hyprand, doesn't lock TTY)
|
# Display manager — SDDM (stable for Hyprland, doesn't lock TTYs)
|
||||||
# Default session to Hyprland (not uwsm variant)
|
|
||||||
services.displayManager.defaultSession = "hyprland";
|
|
||||||
|
|
||||||
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.session = [{
|
||||||
|
manage = "window";
|
||||||
|
desktopName = "Hyprland";
|
||||||
|
wmCommand = "Hyprland";
|
||||||
|
}];
|
||||||
|
|
||||||
# XDG portal for Wayland
|
# XDG portal for Wayland
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue