diff --git a/flake.nix b/flake.nix index 031ccbb..e015c41 100755 --- a/flake.nix +++ b/flake.nix @@ -178,7 +178,10 @@ # Hardware ./nixos/hardware/lenovo/legion/81fw/Aristotle - {networking.hostName = "Aristotle";} + { + networking.hostName = "Aristotle"; + time.timeZone = "Asia/Shanghai"; + } ]; }; }; @@ -198,7 +201,10 @@ ./darwin/hardware/apple/imac/18-3 - {networking.hostName = "Plato";} + { + networking.hostName = "Plato"; + time.timeZone = "Asia/Shanghai"; + } ]; }; }; diff --git a/users/guanranwang/darwin/profiles/core/default.nix b/users/guanranwang/darwin/profiles/core/default.nix index b8e10ee..b01e2d9 100644 --- a/users/guanranwang/darwin/profiles/core/default.nix +++ b/users/guanranwang/darwin/profiles/core/default.nix @@ -16,7 +16,7 @@ ### Options myFlake.darwin.networking.dns.provider = lib.mkDefault "alidns"; - time.timeZone = lib.mkDefault "Asia/Shanghai"; + ### Flakes imports = [ diff --git a/users/guanranwang/nixos/profiles/core/default.nix b/users/guanranwang/nixos/profiles/core/default.nix index 9c1236f..6d86929 100644 --- a/users/guanranwang/nixos/profiles/core/default.nix +++ b/users/guanranwang/nixos/profiles/core/default.nix @@ -25,7 +25,6 @@ ### Options myFlake.nixos.networking.dns.provider = lib.mkDefault "alidns"; - time.timeZone = lib.mkDefault "Asia/Shanghai"; ### Flakes imports = [