add garnix cache
This commit is contained in:
parent
55096c3b4d
commit
6d0f1688c7
2 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||||
|
|
|
@ -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"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue