ark/modules/de/greetd/default.nix

17 lines
370 B
Nix
Raw Normal View History

2024-01-23 02:11:22 +03:00
{pkgs, ...}: {
2022-10-22 23:54:44 +03:00
services.greetd = {
enable = true;
settings = {
terminal.vt = 1;
default_session = {
2024-01-23 02:11:22 +03:00
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --issue --time --cmd 'sway --unsupported-gpu'";
2022-10-22 23:54:44 +03:00
user = "greeter";
};
};
};
systemd.services = {
"getty@tty1".enable = false;
"autovt@tty1".enable = false;
};
}