feat: new-locale #19

Merged
bahrom04 merged 3 commits from new-locale into main 2026-06-07 07:09:00 +00:00
Owner

Let me cook, I'm testing!

Let me cook, I'm testing!
chore: deprecate xinux option for locale
All checks were successful
Test CI / Test flake options (pull_request) Successful in 1m11s
f1e1f26241
Author
Owner

@bahrom04 so, where are you guys defining the defaultLocale setting? modules.nix? any examples so I can catch up with my old config?

@bahrom04 so, where are you guys defining the defaultLocale setting? modules.nix? any examples so I can catch up with my old config?
Author
Owner

looked up at xeonitte for clues and advanced template does that at modules.nix whereas basic one still does that in default.nix. i'm confused.

looked up at xeonitte for clues and advanced template does that at [modules.nix](https://git.oss.uzinfocom.uz/xinux/xeonitte/src/branch/main/config/advanced/systems/ARCH/HOSTNAME/modules.nix) whereas basic one still does that in [default.nix](https://git.oss.uzinfocom.uz/xinux/xeonitte/src/branch/main/config/basic/systems/ARCH/HOSTNAME/default.nix). i'm confused.
Author
Owner

oopsie, i forgot that i don't use new settings app and bound to modules for a while. leaving as is till settings app becomes viable for use.

oopsie, i forgot that i don't use new settings app and bound to modules for a while. leaving as is till settings app becomes viable for use.
Author
Owner

ready!

ready!
orzklv changed title from WIP: new-locale (for the love of god, please don't merge unless i say it's ready!) to new-locale (for the love of god, please don't merge unless i say it's ready!) 2026-06-03 21:39:32 +00:00
orzklv changed title from new-locale (for the love of god, please don't merge unless i say it's ready!) to feat: new-locale 2026-06-03 21:39:41 +00:00
chore: locale cleanup
All checks were successful
Test CI / Test flake options (pull_request) Successful in 1m24s
e3bc138c78
Author
Owner

trust me bro, it werks!
Skrinshot: 2026-06-04 02-43-48

trust me bro, it werks! ![Skrinshot: 2026-06-04 02-43-48](/attachments/aacc7381-cb7d-4624-b8a7-50194fa12fb4)
Owner

@orzklv I think i found a bug. On basic installation it have [@LOCALE@](https://git.oss.uzinfocom.uz/xinux/xeonitte/src/branch/main/config/basic/systems/ARCH/HOSTNAME/default.nix#L17) placeholder but it lacks on advansed mode 🤔

@orzklv I think i found a bug. On basic installation it have `[@LOCALE@](https://git.oss.uzinfocom.uz/xinux/xeonitte/src/branch/main/config/basic/systems/ARCH/HOSTNAME/default.nix#L17)` placeholder but it lacks on advansed mode 🤔
@ -14,0 +25,4 @@
];
visible = false;
warn = true;
use = warnIf (oldestSupportedReleaseIsAtLeast 2511) "Obsolete option `${showOption from}' is used. It was replaced to `${showOption to}'.";
Owner

"Obsolete option ${showOption from}' is used. It was replaced to ${showOption to}'."

this needs to be written something like that:

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

mentioning configuration.nix file path is very important for settings app

"Obsolete option `${showOption from}' is used. It was replaced to `${showOption to}'." this needs to be written something like that: option modules.xinux.language is deprecated, please use i18n.defaultLocale in system/x86_64-linux/xinux/default.nix instead. ### mentioning configuration.nix file path is very important for settings app
bahrom04 marked this conversation as resolved
bahrom04 deleted branch new-locale 2026-06-07 07:09:00 +00:00
bahrom04 referenced this pull request from a commit 2026-06-07 07:09:02 +00:00
Sign in to join this conversation.
No reviewers
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!19
No description provided.