Configure attic instance as self hosted cache and enable on carbon

This commit is contained in:
alejandro-angulo 2026-02-15 14:40:32 -08:00
parent bd66f82a7e
commit 70e4a4d452
2 changed files with 3 additions and 5 deletions

View file

@ -13,7 +13,6 @@ let
;
cfg = config.aa.nix;
selfHostedCacheHost = "https://cache.kilonull.com/";
in
{
options.aa.nix = {
@ -72,13 +71,12 @@ in
if cfg.useSelfhostedCache then
[
# TESTING
"https://minio.kilonull.com/nix-store"
selfHostedCacheHost
"https://attic.kilonull.com/nixosConfigs"
]
else
[ ];
trusted-public-keys = mkIf cfg.useSelfhostedCache [
"gospelCache:9cbn8Wm54BbwpPS0TXw+15wrYZBpfOJt4Fzfbfcq/pc="
"nixosConfigs:mjWq+JcnAqwT20OZSsrh9od6LTNn8U3cYdaXhqhDqP0="
];
};

View file

@ -9,7 +9,7 @@
aa = {
nix = {
enable = true;
useSelfhostedCache = false;
useSelfhostedCache = true;
remoteBuilder.client.enable = false;
};