deprecate/warning: modules.xinux.language option til 26.11 version #18

Closed
opened 2026-06-03 10:57:31 +00:00 by bahrom04 · 2 comments
Owner

Xinux settings has language setter logic so deprecating and showing warning will help users to change accordingly:

Warning message

option modules.xinux.language is deprecated, please use i18n.defaultLocale in system/x86_64-linux/xinux/default.nix instead

Example code, something like that

github.com/xinux-org/nixpkgs@1167ddc8c0/nixos/modules/installer/cd-dvd/iso-image.nix (L532-L543)

Xinux settings has [language setter logic](https://git.oss.uzinfocom.uz/xinux/settings/src/branch/main/src/ui/system/system_l10n.rs#L515) so deprecating and showing warning will help users to change accordingly: ## Warning message ``` option modules.xinux.language is deprecated, please use i18n.defaultLocale in system/x86_64-linux/xinux/default.nix instead ``` ## Example code, something like that https://github.com/xinux-org/nixpkgs/blob/1167ddc8c033d28b9d07afccba2708af1f73cfc1/nixos/modules/installer/cd-dvd/iso-image.nix#L532-L543
Author
Owner

Related: xinux/nix-data#3

Related: https://git.oss.uzinfocom.uz/xinux/nix-data/pulls/3
Owner

#19 to the rescue!

https://git.oss.uzinfocom.uz/xinux/modules/pulls/19 to the rescue!
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
xinux/modules#18
No description provided.