Add autologin
This commit is contained in:
parent
7a657d84f1
commit
0f40bf1932
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
username,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
|
@ -29,6 +30,9 @@
|
||||||
};
|
};
|
||||||
cageArgs = ["-s" "-m" "last"]; # Only show on the last monitor
|
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";
|
environment.sessionVariables.XKB_DEFAULT_LAYOUT = "es";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue