From 43bf595e2415d24b5e5ee0285b69091d6c19e6f2 Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 29 Jun 2025 07:40:48 -0400 Subject: [PATCH] Set up time. --- nodes/hosts/common/configuration.nix | 1 + nodes/hosts/common/system/time.nix | 5 +++++ nodes/hosts/lappy/configuration.nix | 3 --- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 nodes/hosts/common/system/time.nix diff --git a/nodes/hosts/common/configuration.nix b/nodes/hosts/common/configuration.nix index f404ce7..407d0e2 100644 --- a/nodes/hosts/common/configuration.nix +++ b/nodes/hosts/common/configuration.nix @@ -12,6 +12,7 @@ ./services/sound.nix ./system/bluetooth.nix ./system/locale.nix + ./system/time.nix ]; nixpkgs = { diff --git a/nodes/hosts/common/system/time.nix b/nodes/hosts/common/system/time.nix new file mode 100644 index 0000000..9483785 --- /dev/null +++ b/nodes/hosts/common/system/time.nix @@ -0,0 +1,5 @@ +{ ... }: { + # Set your time zone. + time.timeZone = "America/Montreal"; +} + diff --git a/nodes/hosts/lappy/configuration.nix b/nodes/hosts/lappy/configuration.nix index 48491b4..b7b3597 100644 --- a/nodes/hosts/lappy/configuration.nix +++ b/nodes/hosts/lappy/configuration.nix @@ -24,9 +24,6 @@ # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. - # Set your time zone. - time.timeZone = "America/Montreal"; - # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";