158 current 2025-06-17 08:50:12 25.05.20250615.6c64dab 6.15.2 *

fix greetd/regreet
This commit is contained in:
2025-06-17 08:50:15 +02:00
parent b6c4d7a931
commit 5b18ab3e6a

View File

@ -5,32 +5,27 @@
displayManager.gdm.enable = false; displayManager.gdm.enable = false;
}; };
# Greetd is lightweight and Wayland-native greetd.enable = true;
greetd = {
enable = true;
settings.default_session = {
user = "schulze";
command = ''
${pkgs.runtimeShell} -l -c '
if ${pkgs.uwsm}/bin/uwsm check may-start; then
exec ${pkgs.uwsm}/bin/uwsm start hyprland.desktop
fi
'
'';
};
};
# Power management (battery status, etc)
upower.enable = true; upower.enable = true;
power-profiles-daemon.enable = true; power-profiles-daemon.enable = true;
}; };
# Hyprland is your new desktop programs = {
programs.hyprland.enable = true; hyprland = {
programs.hyprland.withUWSM = true; enable = true;
programs.regreet.enable = true; withUWSM = true;
programs.uwsm.enable = true; };
programs.dconf = { regreet.enable = true;
uwsm = {
enable = true;
waylandCompositors.hyprland = {
prettyName = "Hyprland";
comment = "Hyprland compositor managed by UWSM";
binPath = "/run/current-system/sw/bin/Hyprland";
};
};
dconf = {
enable = true; enable = true;
profiles.user.databases = [ profiles.user.databases = [
{ {
@ -44,6 +39,8 @@
} }
]; ];
}; };
};
xdg.portal = { xdg.portal = {
enable = true; enable = true;
wlr.enable = true; wlr.enable = true;