Laptops use automatic-timezoned
This commit is contained in:
parent
e626b99ab2
commit
4b15507e9f
2 changed files with 6 additions and 1 deletions
|
|
@ -68,7 +68,10 @@ in
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "America/Chicago";
|
time.timeZone = let
|
||||||
|
automatic = config.services.automatic-timezoned.enable;
|
||||||
|
in
|
||||||
|
lib.mkIf (!automatic) "America/Chicago";
|
||||||
|
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
automatic-timezoned.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.networkmanager.plugins = [pkgs.networkmanager-openvpn];
|
networking.networkmanager.plugins = [pkgs.networkmanager-openvpn];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue