adsb-antenna: Custom nix cache
This commit is contained in:
parent
45ca62b41f
commit
fe7742c8e0
3 changed files with 13 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
args@{ pkgs, ... }:
|
||||
|
||||
let
|
||||
secret = import ../../secret/hosts/adsb-antenna.nix;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../programs/fish.nix
|
||||
|
@ -9,6 +12,8 @@
|
|||
|
||||
../programs/bat.nix
|
||||
|
||||
(import ../programs/custom-nix-cache.nix (args // { inherit secret; }))
|
||||
|
||||
../programs/fzf.nix
|
||||
|
||||
../programs/jq.nix
|
||||
|
|
Binary file not shown.
|
@ -1,6 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
args@{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) optionals;
|
||||
|
||||
secret = import ../../secret/hosts/adsb-antenna.nix;
|
||||
ssh-keys = import ../shared/ssh-keys.nix;
|
||||
in
|
||||
|
@ -24,11 +26,15 @@ in
|
|||
substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://nifoc.cachix.org"
|
||||
] ++ optionals secret.nix-cache.nifoc.enabled [
|
||||
secret.nix-cache.nifoc.s3Url
|
||||
];
|
||||
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"nifoc.cachix.org-1:ymuftq7RgN/lf/iWXFK8gpwDSAGFaGBeliWe9u6q8II="
|
||||
] ++ optionals secret.nix-cache.nifoc.enabled [
|
||||
secret.nix-cache.nifoc.publicKeyValue
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue