add garnix

This commit is contained in:
2026-03-11 10:52:28 +01:00
parent a841ba89a3
commit 3110213101
3 changed files with 15 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
{ ... }: {
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;
};
};
}