modularized timezone

This commit is contained in:
Danilo Reyes 2025-04-18 01:49:41 -06:00
parent c6f9d06f85
commit e7883be1f1
4 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@
users.jawz = import ./home-manager.nix;
};
time = {
timeZone = "America/Mexico_City";
timeZone = config.my.timezone;
hardwareClockInLocalTime = true;
};
i18n = {

View File

@ -6,7 +6,7 @@
view = "monthly";
maxEvents = 10;
showTime = true;
timezone = "America/Mexico_City";
timezone = config.my.timezone;
integrations =
let
createIntegration = name: color: {

View File

@ -253,7 +253,7 @@ in
autoStart = true;
image = "radialapps/go-vod";
environment = {
TZ = "America/Mexico_City";
TZ = config.my.timezone;
NEXTCLOUD_HOST = "https://${config.services.nextcloud.hostName}";
NVIDIA_VISIBLE_DEVICES = "all";
};

View File

@ -13,7 +13,7 @@ in
environmentFiles = [ config.sops.secrets.ryot.path ];
environment = {
RUST_LOG = "ryot=debug,sea_orm=debug";
TZ = "America/Mexico_City";
TZ = config.my.timezone;
DATABASE_URL = "postgres:///ryot?host=${config.my.postgresSocket}";
FRONTEND_INSECURE_COOKIES = "true";
};