about summary refs log tree commit diff
path: root/hosts/configuration.nix
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2022-07-13 17:20:56 +0200
committerBaitinq <[email protected]>2022-07-13 17:23:51 +0200
commitba82f2c79cfe54ed164d65f04a55126715d64eaf (patch)
treea720106b7a734c803d610771c65872aedc9e0434 /hosts/configuration.nix
parentRemove unnecessary packages that can be replaced with , (diff)
downloadnixos-config-ba82f2c79cfe54ed164d65f04a55126715d64eaf.tar.gz
nixos-config-ba82f2c79cfe54ed164d65f04a55126715d64eaf.tar.bz2
nixos-config-ba82f2c79cfe54ed164d65f04a55126715d64eaf.zip
Add timezone to the mkHost function
Diffstat (limited to 'hosts/configuration.nix')
-rw-r--r--hosts/configuration.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index e834335..9913f35 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -1,4 +1,4 @@
-{ secrets, lib, pkgs, config, hostname, inputs, user, ... }: {
+{ secrets, lib, pkgs, config, hostname, inputs, user, timezone, ... }: {
 
   imports = [
     ../modules/doas
@@ -25,7 +25,7 @@
   };
 
   # Set your time zone.
-  time.timeZone = "Europe/Madrid";
+  time.timeZone = timezone;
 
   networking = {
     hostName = hostname; # Define your hostname.