From 17611b7e53b7336ac80f1afec826fa8996ce596e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?= Date: Wed, 20 Nov 2024 16:43:41 +0100 Subject: [PATCH] Timezone and locale --- infra/common/default.nix | 3 +++ infra/vm02116/configuration.nix | 6 ------ infra/vm02179/configuration.nix | 6 ------ infra/vm02186/procolix-configuration.nix | 6 ------ infra/vm02187/configuration.nix | 6 ------ 5 files changed, 3 insertions(+), 24 deletions(-) diff --git a/infra/common/default.nix b/infra/common/default.nix index 0630f2f..88e61d2 100644 --- a/infra/common/default.nix +++ b/infra/common/default.nix @@ -4,4 +4,7 @@ ./networking.nix ./users.nix ]; + + time.timeZone = "Europe/Amsterdam"; + i18n.defaultLocale = "en_US.UTF-8"; } diff --git a/infra/vm02116/configuration.nix b/infra/vm02116/configuration.nix index 01f855f..aa1432b 100644 --- a/infra/vm02116/configuration.nix +++ b/infra/vm02116/configuration.nix @@ -9,12 +9,6 @@ ip6 = "2a00:51c0:12:1201::20"; }; - # Set your time zone. - time.timeZone = "Europe/Amsterdam"; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ diff --git a/infra/vm02179/configuration.nix b/infra/vm02179/configuration.nix index 59a5add..263b94c 100644 --- a/infra/vm02179/configuration.nix +++ b/infra/vm02179/configuration.nix @@ -9,12 +9,6 @@ ip6 = "2a00:51c0:12:1201::179"; }; - # Set your time zone. - time.timeZone = "Europe/Amsterdam"; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - nix = { settings.trusted-users = [ "@wheel" ]; }; diff --git a/infra/vm02186/procolix-configuration.nix b/infra/vm02186/procolix-configuration.nix index ea0c923..96c9ac5 100644 --- a/infra/vm02186/procolix-configuration.nix +++ b/infra/vm02186/procolix-configuration.nix @@ -9,12 +9,6 @@ ip6 = "2a00:51c0:12:1201::186"; }; - # Set your time zone. - time.timeZone = "Europe/Amsterdam"; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ diff --git a/infra/vm02187/configuration.nix b/infra/vm02187/configuration.nix index 3c58f39..6de5a01 100644 --- a/infra/vm02187/configuration.nix +++ b/infra/vm02187/configuration.nix @@ -71,12 +71,6 @@ users.users.nginx.extraGroups = [ "acme" ]; - # Set your time zone. - time.timeZone = "Europe/Amsterdam"; - - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; - # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [