Skip to content

Commit

Permalink
Set GNOME specific LC_TIME in environment.d
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Oct 23, 2024
1 parent 3dbe439 commit b89d0a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions home-manager/systemd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
# https://github.com/nix-community/home-manager/blob/release-24.05/modules/systemd.nix#L161-L173
systemd = {
user = {
# Enable locale for GNOME, terminals respect home.sessionVariables instead
# https://superuser.com/a/1841368
# https://github.com/nix-community/home-manager/blob/5ec753a1fc4454df9285d8b3ec0809234defb975/modules/systemd.nix#L92-L96
sessionVariables = {
# GNOME clock respects LC_TIME. And does not support displaying iso-8601 format even if set en_DK
LC_TIME = "ja_JP.UTF-8";
};

services.podman = {
Unit = {
Description = "Podman API Service";
Expand Down

0 comments on commit b89d0a3

Please sign in to comment.