set timezone in one place
8 files changed, 8 insertions(+), 18 deletions(-)
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";
M system/hosts/nano.nix → system/hosts/nano.nix
@@ -300,7 +300,6 @@ "--advertise-routes=10.0.0.0/16,fd12:d04f:65d:42::/56" ]; }; - time.timeZone = "Europe/Berlin"; i18n.defaultLocale = "en_GB.UTF-8"; programs.vim.defaultEditor = false;
M system/hosts/prefect.nix → system/hosts/prefect.nix
@@ -6,7 +6,7 @@ }: { imports = [ ../settings/base.nix - ../settings/configuration/berlin.nix + ../settings/configuration/date-time.nix ../settings/configuration/british-english.nix ../settings/configuration/nix-linux.nix ../settings/configuration/user.nix
M system/hosts/r5s.nix → system/hosts/r5s.nix
@@ -57,7 +57,6 @@ services.tailscale = { enable = true; }; - time.timeZone = "Europe/Berlin"; i18n.defaultLocale = "en_GB.UTF-8"; programs.vim.defaultEditor = false;
M system/hosts/smrk.nix → system/hosts/smrk.nix
@@ -14,7 +14,6 @@ ../roles/server.nix ]; system.stateVersion = "25.11"; - time.timeZone = "Europe/Berlin"; i18n.defaultLocale = "en_GB.UTF-8"; environment.homeBinInPath = true;
M system/roles/server.nix → system/roles/server.nix
@@ -2,6 +2,7 @@ { ... }: { imports = [ ../settings/configuration/nix-linux.nix + ../settings/configuration/date-time.nix ../settings/services/tailscale.nix ../settings/services/caddy.nix
D system/settings/configuration/berlin.nix
@@ -1,10 +0,0 @@ -{ - ... -}: -{ - time.timeZone = "Europe/Berlin"; - location = { - latitude = 52.586; - longitude = 13.300; - }; -}
A system/settings/configuration/date-time.nix
@@ -0,0 +1,4 @@ +{ ... }: +{ + time.timeZone = "Europe/Berlin"; +}