hypr: enable systemd session with UWSM

This commit is contained in:
Nico 2025-05-03 16:16:00 +10:00
parent d617820931
commit 2be1e742f7
3 changed files with 4 additions and 2 deletions

View file

@ -16,7 +16,7 @@
enable = true;
settings = {
initial_session = {
command = "${pkgs.hyprland}/bin/Hyprland";
command = "${pkgs.uwsm}/bin/uwsm start default";
user = "nico";
};
default_session = {

View file

@ -2,6 +2,7 @@
{
programs.hyprland.enable = true;
programs.hyprland.withUWSM = true;
# Optional, hint electron apps to use wayland:
environment.sessionVariables.NIXOS_OZONE_WL = "1";