mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-25 18:19:00 +00:00
profiles/i18n: fix assertion
This commit is contained in:
parent
5ea0a1ebc6
commit
b047d0c7e3
@ -15,7 +15,7 @@ in
|
||||
{
|
||||
assertions = let enabledi18nConfigs = lib.countAttrs (_: setup: lib.isAttrs setup && setup.enable) cfg; in
|
||||
[{
|
||||
assertion = enabledi18nConfigs < 1;
|
||||
assertion = enabledi18nConfigs <= 1;
|
||||
message = ''
|
||||
Only one i18n setup should be enabled at any given time.
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user