diff --git a/modules/nixos/greetd.nix b/modules/nixos/greetd.nix index a58f7fd..e725fa1 100644 --- a/modules/nixos/greetd.nix +++ b/modules/nixos/greetd.nix @@ -18,7 +18,7 @@ exec dbus-sway-environment exec configure-gtk # `-l` activates layer-shell mode. Notice that `swaymsg exit` will run after gtkgreet. - exec "${pkgs.greetd.gtkgreet}/bin/gtkgreet -l; swaymsg exit" + exec "${pkgs.greetd.regreet}/bin/regreet -l; swaymsg exit" bindsym Mod4+shift+e exec swaynag \ -t warning \ -m 'What do you want to do?' \ @@ -26,6 +26,10 @@ -b 'Reboot' 'systemctl reboot' ''; in { + programs.regreet = { + enable = true; + }; + services.greetd = { enable = true; settings = {