add garnix cache

This commit is contained in:
uku 2023-11-16 17:41:34 +01:00
parent 55096c3b4d
commit 6d0f1688c7
Signed by: uku
GPG key ID: 7D01D7B105E77166
2 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,11 @@
{ {
description = "example flake idk"; description = "example flake idk";
nixConfig = {
extra-substituters = ["https://cache.garnix.io"];
extra-trusted-public-keys = ["cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="];
};
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable"; nixpkgs.url = "nixpkgs/nixos-unstable";
nixpkgs-stable.url = "nixpkgs/nixos-23.05"; nixpkgs-stable.url = "nixpkgs/nixos-23.05";

View file

@ -40,6 +40,7 @@
settings = { settings = {
auto-optimise-store = true; auto-optimise-store = true;
experimental-features = ["nix-command" "flakes"]; experimental-features = ["nix-command" "flakes"];
trusted-users = ["root" "@wheel"];
}; };
}; };