feature(timezone/locale): enable runtime adjustment, move to features#1772
Merged
brianmcgillion merged 3 commits intotiiuae:mainfrom Mar 6, 2026
Merged
feature(timezone/locale): enable runtime adjustment, move to features#1772brianmcgillion merged 3 commits intotiiuae:mainfrom
brianmcgillion merged 3 commits intotiiuae:mainfrom
Conversation
Signed-off-by: Kajus Naujokaitis <kajus.naujokaitis@unikie.com>
13d21ee to
faa580b
Compare
This comment was marked as outdated.
This comment was marked as outdated.
vunnyso
reviewed
Feb 24, 2026
faa580b to
c60be63
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Collaborator
|
Retested this PR with the fix . videos and logs shared directly with @kajusnau |
- implemented runtime mgmt of timezone and locale - enablind these modules now enables runtime mgmt of both - simplified tz forwarding to be triggered by systemd - added persistent locale settings storage - added .profile locale inheritance on boot - added system-wide .profile locale inheritance on boot - added explicit systemd services to handle locale mgmt and forwarding - enabled timezone and locale pages in initial setup Signed-off-by: Kajus Naujokaitis <kajus.naujokaitis@unikie.com>
- exposed timezone and locale modules as features in global config - enabled timezone and locale features in sysvms - enabled timezone and locale propagation in gui-vm - enabled system locale override in gui-vm - set default time.timeZone to null in global config Signed-off-by: Kajus Naujokaitis <kajus.naujokaitis@unikie.com>
c60be63 to
b8a23ae
Compare
Collaborator
|
Retest the issue after Kajus has adjusted the handler to wait for real locale changes before taking action . This time the issue is fixed except in a corner situation where language and formatting are different it picks up formatting on the date and time from the previously stored value . A minor corner case bug which we can separately . |
vunnyso
approved these changes
Mar 3, 2026
brianmcgillion
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Changes
Quick summary:
Timezone and locale settings moved to
featuresTimezone and locale can now be adjusted at runtime via COSMIC tools or any other tools.
Changes take effect immediately (timezone), after session restart (locale session config), or after system reboot (if system locale override is enabled).
Detailed changes:
ghaf.services.timezone):timezone.propagateoption to control propagation via givctimezone.enableto instead control runtime mgmt of timezone on the target systemtimezone.propagatenow setstime.timeZonetonull, which enables runtime mgmtghaf.services.locale):locale.propagateoption to control propagation via givclocale.enableto instead control runtime mgmt of locale on the target systemlocale.overrideSystemLocale(naming suggestions welcome)./var/lib/locale/.locale-env, which will be imported by the global.profileat boot iflocale.overrideSystemLocale == true.featuresumbrella:time.timeZonetonullby defaultghaf-intronot starting automatically:ghaf-open, which will determine the correct desktop entry automaticallyType of Change
Related Issues / Tickets
Closes/fixes:
Checklist
make-checksand it passesTesting Instructions
Applicable Targets
aarch64aarch64x86_64x86_64x86_64Installation Method
nixos-rebuild ... switchTest Steps To Verify:
Note
Fresh install is recommended for testing
Warning
Changing the locale (language) might result in localization occuring in the shell - e.g. some common shell utilities might have their output automatically translated to your selected language.
ghaf-introopens automatically