mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-08 19:46:03 +01:00
add cache to example
This commit is contained in:
parent
4d207117b7
commit
561355cba6
1 changed files with 6 additions and 0 deletions
|
|
@ -26,6 +26,12 @@ complete example.
|
||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
description = "raspberry-pi-nix example";
|
description = "raspberry-pi-nix example";
|
||||||
|
nixConfig = {
|
||||||
|
extra-substituters = [ "https://raspberry-pi-nix.cachix.org" ];
|
||||||
|
extra-trusted-public-keys = [
|
||||||
|
"raspberry-pi-nix.cachix.org-1:WmV2rdSangxW0rZjY/tBvBDSaNFQ3DyEQsVw8EvHn9o="
|
||||||
|
];
|
||||||
|
};
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
|
||||||
raspberry-pi-nix.url = "github:tstat/raspberry-pi-nix";
|
raspberry-pi-nix.url = "github:tstat/raspberry-pi-nix";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue