mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 23:11:34 +01:00
tuigreet: Use new option useTextGreeter
This commit is contained in:
parent
d9eae8fc2c
commit
6600c263d4
1 changed files with 1 additions and 16 deletions
|
|
@ -14,13 +14,9 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
assertions = lib.singleton {
|
||||
assertion = !config.services.greetd ? useTextGreeter;
|
||||
message = "TODO: Replace tuigreet tty fix with `useTextGreeter` option";
|
||||
};
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
useTextGreeter = true;
|
||||
settings = {
|
||||
default_session.command =
|
||||
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue