From 187028c5521847ab325902748f955083d5458746 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Tue, 23 May 2023 17:14:24 -0400 Subject: [PATCH] meta: Autologin with greetd and tuigreet --- desktop/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/desktop/default.nix b/desktop/default.nix index 113c0e81..d06bd71b 100644 --- a/desktop/default.nix +++ b/desktop/default.nix @@ -29,5 +29,21 @@ lnch wev swww + greetd.tuigreet ]; + + services.greetd = { + enable = true; + restart = false; + settings = { + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland"; + user = "greeter"; + }; + initial_session = { + command = "${pkgs.hyprland}/bin/Hyprland"; + user = "user"; + }; + }; + }; }