mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
add garnix
This commit is contained in:
10
modules/platform/cache.nix
Normal file
10
modules/platform/cache.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user