Files
nix-fleet/modules/platform/cache.nix
2026-03-11 10:52:28 +01:00

11 lines
353 B
Nix

{ ... }: {
flake.nixosModules.platform-sys-cache = { config, ... }: {
sops.secrets."garnix/token" = {};
nix.settings = {
substituters = [ "https://cache.garnix.io" ];
trusted-public-keys = [ "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" ];
netrc-file = config.sops.secrets."garnix/token".path;
};
};
}