mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15: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 {
|
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;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue