mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Assert todos instead of warn
This commit is contained in:
parent
939030d505
commit
6edbfa0b42
8 changed files with 38 additions and 15 deletions
|
|
@ -14,9 +14,10 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
warnings = lib.optional (
|
||||
config.services.greetd ? useTextGreeter
|
||||
) "TODO: Replace tuigreet tty fix with `useTextGreeter` option";
|
||||
assertions = lib.singleton {
|
||||
assertion = !config.services.greetd ? useTextGreeter;
|
||||
message = "TODO: Replace tuigreet tty fix with `useTextGreeter` option";
|
||||
};
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue