nixos-config/modules/sway.nix
2024-05-07 19:09:51 +02:00

22 lines
373 B
Nix

{
# enable sway, so we have a swaylock pam config
programs.sway.enable = true;
programs.sway.package = null;
# autologin
services.greetd = {
enable = true;
settings = {
default_session = {
command = "sway";
user = "fleaz";
};
initial_session = {
command = "sway";
user = "fleaz";
};
};
};
}