21 lines
341 B
Nix
21 lines
341 B
Nix
|
{
|
||
|
# enable sway, so we have a swaylock pam config
|
||
|
programs.sway.enable = true;
|
||
|
|
||
|
# autologin
|
||
|
services.greetd = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
default_session = {
|
||
|
command = "sway";
|
||
|
user = "fleaz";
|
||
|
};
|
||
|
initial_session = {
|
||
|
command = "sway";
|
||
|
user = "fleaz";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|