tuigreet: Use new option useTextGreeter

This commit is contained in:
SebastianStork 2025-11-26 20:15:15 +01:00
parent d9eae8fc2c
commit 6600c263d4
Signed by: SebastianStork
SSH key fingerprint: SHA256:iEM011ogNMG1q8+U500adGu/9rpPuZ2KnFtbdLeqTiI

View file

@ -14,13 +14,9 @@ in
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
assertions = lib.singleton {
assertion = !config.services.greetd ? useTextGreeter;
message = "TODO: Replace tuigreet tty fix with `useTextGreeter` option";
};
services.greetd = { services.greetd = {
enable = true; enable = true;
useTextGreeter = true;
settings = { settings = {
default_session.command = default_session.command =
let let
@ -40,16 +36,5 @@ in
}; };
}; };
}; };
# Prevent systemd messages from covering the TUI
systemd.services.greetd.serviceConfig = {
Type = "idle";
StandardInputs = "tty";
StandardOutput = "tty";
StandardError = "journal";
TTYReset = true;
TTYVHangup = true;
TTYVTDisallocate = true;
};
}; };
} }