From 4093f5227cf5502239ec590c72cd78aebaf543a1 Mon Sep 17 00:00:00 2001 From: Nico Date: Sat, 3 May 2025 16:15:59 +1000 Subject: [PATCH] nix: enable autologin and replace regreet with tuigreet --- modules/linux/login.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/linux/login.nix b/modules/linux/login.nix index 328bc7b..74fb40a 100644 --- a/modules/linux/login.nix +++ b/modules/linux/login.nix @@ -2,11 +2,15 @@ { # display manager - programs.regreet = { + services.greetd = { enable = true; settings = { - GTK = { - application_prefer_dark_theme = true; + initial_session = { + command = "uwsm start default"; + user = "nico"; + }; + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --greet-align left"; }; }; };