diff options
author | Linnnus <[email protected]> | 2023-12-11 13:40:10 +0100 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-12-11 13:40:10 +0100 |
commit | df50b6ee4929ba9e4e8d70d989a8ce611143c028 (patch) | |
tree | 5d6ca2b72fd2f71bdbd64ecfcabc423f949406c4 /hosts/muhammed/configuration.nix | |
parent | a089a0f0d52031c4bed1e79b424755152a6797bf (diff) |
hosts/muhammed: Don't refetch nixpkgs tarball all the time
Diffstat (limited to 'hosts/muhammed/configuration.nix')
-rw-r--r-- | hosts/muhammed/configuration.nix | 4 |
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; |