From 2a0cb8f8dd9596e2f5feab2e3d1b8b15cfcd424f Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Wed, 5 Feb 2025 23:45:38 -0800 Subject: migration: timezones --- snowfall/modules/nixos/system/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'snowfall/modules/nixos') diff --git a/snowfall/modules/nixos/system/default.nix b/snowfall/modules/nixos/system/default.nix index 83263ba..96c5654 100644 --- a/snowfall/modules/nixos/system/default.nix +++ b/snowfall/modules/nixos/system/default.nix @@ -12,6 +12,11 @@ in { default = null; type = nullOr str; }; + + timezone = mkOption { + default = "America/Los_Angeles"; + type = nullOr str; + }; }; config = { @@ -19,5 +24,7 @@ in { networking.hostName = cfg.hostname; networking.hostId = cfg.id; + + time.timeZone = cfg.timezone; }; } -- cgit v1.2.3