From df50b6ee4929ba9e4e8d70d989a8ce611143c028 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Mon, 11 Dec 2023 13:40:10 +0100 Subject: hosts/muhammed: Don't refetch nixpkgs tarball all the time --- hosts/muhammed/configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hosts/muhammed/configuration.nix') 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; -- cgit v1.2.3