From 62b2ff009085a0c52e675fee030b061b7bb7c5da Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 5 Mar 2025 14:19:00 +0100 Subject: [PATCH] hardwareclock confi Former-commit-id: 2146ce8360a87933d7db86538f1a87c51033ad0a --- nixos/utils.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/utils.nix b/nixos/utils.nix index 6ec1c21..feaea99 100644 --- a/nixos/utils.nix +++ b/nixos/utils.nix @@ -4,7 +4,6 @@ let keyboardLayout = config.var.keyboardLayout; configDir = config.var.configDirectory; in { - networking.hostName = hostname; networking.networkmanager.enable = true; @@ -18,7 +17,10 @@ in { allowReboot = false; }; - time.timeZone = config.var.timeZone; + time = { + timeZone = config.var.timeZone; + hardwareClockInLocalTime = true; + }; i18n.defaultLocale = config.var.defaultLocale; i18n.extraLocaleSettings = { LC_ADDRESS = config.var.extraLocale;