set timezone in one place
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";