19 lines
460 B
Nix
19 lines
460 B
Nix
{pkgs, ...}:{
|
|
services.greetd = {
|
|
enable = true;
|
|
restart = true;
|
|
settings.default-session = {
|
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd niri-session";
|
|
user = "greeter";
|
|
};
|
|
};
|
|
systemd.services.greetd.serviceConfig = {
|
|
Type = "idle";
|
|
StandardInput = "tty";
|
|
StandardOutput = "tty";
|
|
StandardError = "journal";
|
|
TTYReset = "true";
|
|
TTYHangup = "true";
|
|
TTYVTDisallocate = "true;"
|
|
};
|
|
}
|