From 94121f099b62591e7d2b8d43017629502fd4b776 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Wed, 18 Dec 2024 23:52:44 -0500 Subject: [PATCH] Switch back to ly. Welcome back, old friend. --- .../services/general/displaymanager/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/modules/system/services/general/displaymanager/default.nix b/modules/system/services/general/displaymanager/default.nix index ad5fdce..5b74aeb 100644 --- a/modules/system/services/general/displaymanager/default.nix +++ b/modules/system/services/general/displaymanager/default.nix @@ -1,17 +1,11 @@ { config, pkgs, lib, ... }: { config = lib.mkIf config.system.desktop.enable { - services.greetd = { + services.displayManager.ly = { enable = true; - restart = true; settings = { - terminal = { - vt = 2; - switch = true; - }; - default_session.command = '' - ${pkgs.greetd.tuigreet}/bin/tuigreet --remember --remember-user-session --user-menu --asterisks --sessions /etc/greetd/environments - ''; + vi_mode = true; + waylandsessions = "/etc/greetd/environments"; }; };