Add autologin

This commit is contained in:
Pedro Rey Anca 2024-08-21 01:37:45 +02:00
parent 7a657d84f1
commit 0f40bf1932

View file

@ -1,6 +1,7 @@
{
inputs,
pkgs,
username,
...
}: {
programs.hyprland.enable = true;
@ -29,6 +30,9 @@
};
cageArgs = ["-s" "-m" "last"]; # Only show on the last monitor
};
services.greetd.settings.initial_session = {
command = "hyprland";
user = "${username}";
};
environment.sessionVariables.XKB_DEFAULT_LAYOUT = "es";
}