Add module to make timezone imperatively settable
This commit is contained in:
parent
b0a95003b7
commit
989369d488
2 changed files with 11 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
../../modules/laptop.nix
|
||||
../../modules/network.nix
|
||||
../../modules/locale.nix
|
||||
../../modules/timezone-imperatively.nix
|
||||
../../modules/boot-login.nix
|
||||
../../modules/fonts.nix
|
||||
../../modules/cli-essentials.nix
|
||||
|
|
10
modules/timezone-imperatively.nix
Normal file
10
modules/timezone-imperatively.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# Set timezone to null to make it imperatively settable
|
||||
time.timeZone = lib.mkForce null;
|
||||
|
||||
services.tzupdate.enable = true;
|
||||
}
|
Loading…
Reference in a new issue