Locale : Move TZ to const.

This commit is contained in:
Dmitry Voronin 2024-03-26 06:36:00 +03:00
parent e513dacaed
commit ba85621ab4
3 changed files with 4 additions and 3 deletions

View file

@ -104,6 +104,7 @@
hashedPassword = "$y$j9T$oqCB16i5E2t1t/HAWaFd5.$tTaHtAcifXaDVpTcRv.yH2/eWKxKE9xM8KcqXHfHrD7"; # Use `mkpasswd`.
droidStateVersion = "22.11";
stateVersion = "23.11";
timeZone = "Europe/Moscow";
};
# Common modules used across all hosts.

View file

@ -42,7 +42,7 @@ in {
zip unzip
];
time.timeZone = "Europe/Moscow";
time.timeZone = const.timeZone;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';

View file

@ -1,5 +1,5 @@
{ ... }: {
time.timeZone = "Europe/Moscow";
{ const, ... }: {
time.timeZone = const.timeZone;
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "ru_RU.UTF-8";