Replace the S3-based Nix binary cache with Attic, a multi-tenant binary cache server with better deduplication and garbage collection. Changes: - Install attic-client system-wide from nixpkgs - Update substituter URL from s3.toph.so to cache.toph.so/toph - Replace S3 cache keys with Attic cache signing key - Add attic client config for endurance host The Attic cache provides the same functionality as the S3 cache but with improved performance and multi-tenancy support. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
29 lines
477 B
Nix
29 lines
477 B
Nix
{
|
|
pkgs,
|
|
hostname,
|
|
...
|
|
}: {
|
|
# the `modules/generic` folder is generic only across nixos and darwin, not
|
|
# across home manager. home modules are in `modules/home`
|
|
imports = [
|
|
./nix.nix
|
|
./profiles.nix
|
|
./secrets.nix
|
|
];
|
|
|
|
# TODO: Move all of these into their own modules?
|
|
|
|
networking.hostName = hostname;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
pre-commit
|
|
git
|
|
gitleaks
|
|
helix
|
|
fish
|
|
just
|
|
nh
|
|
age
|
|
attic-client
|
|
];
|
|
}
|