diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2024-01-12 10:41:09 -0700 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2024-01-12 10:41:09 -0700 |
| commit | 0f8062875c9ce4a638aecc71011a0d97589a5f76 (patch) | |
| tree | 6858806b112cb36441f09d2d70453aed8764184b /machines/zenbook | |
| parent | a277f8c32dd55e7a7f16fcb161a53cd338baf81b (diff) | |
add dynamic timezone to zenbook
Diffstat (limited to 'machines/zenbook')
| -rw-r--r-- | machines/zenbook/configuration.nix | 5 |
1 files 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"; |
