From 0f8062875c9ce4a638aecc71011a0d97589a5f76 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Fri, 12 Jan 2024 10:41:09 -0700 Subject: add dynamic timezone to zenbook --- machines/zenbook/configuration.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/machines/zenbook/configuration.nix b/machines/zenbook/configuration.nix index 7f5e132..41dd5f0 100644 --- a/machines/zenbook/configuration.nix +++ b/machines/zenbook/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running `nixos-help`). -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { imports = [ @@ -57,7 +57,8 @@ }; # Set your time zone. - time.timeZone = "US/Mountain"; + time.timeZone = lib.mkDefault "US/Mountain"; + services.automatic-timezoned.enable = true; # time.timeZone = "Europe/Stockholm"; # time.timeZone = "UTC"; -- cgit v1.2.3