Add module to make timezone imperatively settable

This commit is contained in:
JuliusFreudenberger 2025-01-18 20:39:17 +02:00
parent b0a95003b7
commit 989369d488
2 changed files with 11 additions and 0 deletions

View file

@ -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

View 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;
}