nixos-config/modules/sway.nix
2023-10-13 18:45:12 +02:00

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";
};
};
};
}