feat: auto-login for desktop

This commit is contained in:
Dmitriy Kholkin 2025-03-10 18:31:46 +03:00
parent d0563f6028
commit 6ed8b746cb
Signed by: AtaraxiaDev
GPG Key ID: FD266B810DF48DF2

View File

@ -13,6 +13,7 @@ let
types types
; ;
defaultUser = config.ataraxia.defaults.users.defaultUser;
role = config.ataraxia.defaults.role; role = config.ataraxia.defaults.role;
in in
{ {
@ -55,6 +56,7 @@ in
time.timeZone = "Etc/UTC"; time.timeZone = "Etc/UTC";
}; };
desktopRole = recursiveUpdate baseRole { desktopRole = recursiveUpdate baseRole {
services.getty.autologinUser = defaultUser;
location = { location = {
provider = "manual"; provider = "manual";
latitude = 48; latitude = 48;