From 1e6b656572fcbde56f3d4234ffcd52af821d3a27 Mon Sep 17 00:00:00 2001 From: NullBite Date: Tue, 4 Feb 2025 23:59:13 +0000 Subject: [PATCH] Install Attic, configure nix to always use cache --- home/profile/base.nix | 2 ++ system/common/nix.nix | 3 +++ 2 files changed, 5 insertions(+) diff --git a/home/profile/base.nix b/home/profile/base.nix index 90b847f..8841192 100644 --- a/home/profile/base.nix +++ b/home/profile/base.nix @@ -84,6 +84,8 @@ in nix-tree nh nix-output-monitor + attic + nix-fast-build git git-lfs diff --git a/system/common/nix.nix b/system/common/nix.nix index df1902f..0909f5a 100644 --- a/system/common/nix.nix +++ b/system/common/nix.nix @@ -71,6 +71,9 @@ in # able to handle simple rebuilds offline) nix.settings.fallback = lib.mkDefault true; + # Allow use of nix binary cache for every derivation + nix.settings.always-allow-substitutes = lib.mkDefault true; + # trust all members of wheel. this technically can give you root power, # but if you've compromised a member of wheel, you might as well already # be root; you could easily intercept a sudo call.