diff --git a/modules/services/games/ghost-one.nix b/modules/services/games/ghost-one.nix index 2b4610df29c1..2d1195a043da 100644 --- a/modules/services/games/ghost-one.nix +++ b/modules/services/games/ghost-one.nix @@ -5,6 +5,7 @@ let cfg = config.services.ghostOne; ghostUser = "ghostone"; stateDir = "/var/lib/ghost-one"; + in { @@ -20,6 +21,7 @@ in language = mkOption { default = "English"; + check = lang: elem lang [ "English" "Spanish" "Russian" "Serbian" "Turkish" ]; description = "The language of bot messages: English, Spanish, Russian, Serbian or Turkish."; };