diff --git a/default.nix b/default.nix index ac24d2f2cf..e4e75a14e1 100644 --- a/default.nix +++ b/default.nix @@ -279,6 +279,7 @@ let mkdir -p etc cat /etc/hosts > etc/hosts cat /etc/nsswitch.conf > etc/nsswitch.conf + cat /etc/localtime > etc/localtime cat /etc/machine-id > etc/machine-id cat /etc/resolv.conf > etc/resolv.conf diff --git a/installers/nix/nix-installer.nix b/installers/nix/nix-installer.nix index e90a5bac8e..854055848f 100644 --- a/installers/nix/nix-installer.nix +++ b/installers/nix/nix-installer.nix @@ -64,6 +64,7 @@ let mkdir -p etc cat /etc/hosts > etc/hosts cat /etc/nsswitch.conf > etc/nsswitch.conf + cat /etc/localtime > etc/localtime cat /etc/machine-id > etc/machine-id cat /etc/resolv.conf > etc/resolv.conf