I followed the Hyprland page on uwsm for installation and declared the following in ~/.profile
to start it with uwsm on startup. How could I declare it my nix configuration?
if uwsm check may-start; then
exec uwsm start hyprland.desktop
fi