summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hosts/muhammed/configuration.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/muhammed/configuration.nix b/hosts/muhammed/configuration.nix
index a9ae6a6..9119a55 100644
--- a/hosts/muhammed/configuration.nix
+++ b/hosts/muhammed/configuration.nix
@@ -3,6 +3,10 @@
# Specify the location of this configuration file. Very meta.
environment.darwinConfig = flakeInputs.self + "/hosts/muhammed/configuration.nix";
+ # Avoid downloading the nixpkgs tarball every hour.
+ # See: https://cohost.org/fullmoon/post/1728807-nix-s-tarball-ttl-op
+ nix.settings.tarball-ttl = 604800;
+
# Use the Nix daemon.
services.nix-daemon.enable = true;