all repos — nixfiles @ 8bfd51fcce9f7cd294431a78960c62ea45425fca

System and user configuration, managed by nix and home-manager

set timezone in one place

Alin
commit

8bfd51fcce9f7cd294431a78960c62ea45425fca

parent

f4153b91f8260f98fcf7010f57a59decd0815621

1 file changed, 2 insertions(+), 4 deletions(-)

changed files
M system/hosts/linde.nix → system/hosts/linde.nix
@@ -60,8 +60,6 @@ };
boot.loader.efi.efiSysMountPoint = "/boot/efi"; - time.timeZone = "Europe/Berlin"; - i18n.defaultLocale = "en_GB.UTF-8"; environment.homeBinInPath = true;
@@ -276,7 +274,7 @@ enable = true;
port = 8002; settings = { - timezone = "Europe/Berlin"; + timezone = config.time.timeZone; name = "Alin"; inherit email; };
@@ -830,7 +828,7 @@ address = "::1";
mediaDir = "/srv/paperless/media"; settings = { PAPERLESS_DBENGINE = "sqlite"; - PAPERLESS_TIME_ZONE = "Europe/Berlin"; + PAPERLESS_TIME_ZONE = config.time.timeZone; PAPERLESS_URL = "https://papers.${ts-domain}"; PAPERLESS_TRUSTED_PROXIES = "::1";