diff options
| author | Grigory Shipunov | 2022-05-25 19:27:42 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2022-05-25 19:27:42 +0200 |
| commit | a9532469718f53912a66073dfae12a5bcf8e7ffa (patch) | |
| tree | b35755f1a07b3d9798f12d5329c83f97145b5800 /modules/binary-caches.nix | |
init
Diffstat (limited to 'modules/binary-caches.nix')
| -rw-r--r-- | modules/binary-caches.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/modules/binary-caches.nix b/modules/binary-caches.nix new file mode 100644 index 0000000..7b6a5bd --- /dev/null +++ b/modules/binary-caches.nix @@ -0,0 +1,36 @@ +{ pkgs, lib, ... }: { + nix = { + registry.microvm = { + from = { + type = "indirect"; + id = "microvm"; + }; + to = { + type = "github"; + owner = "astro"; + repo = "microvm.nix"; + }; + }; + settings = { + trusted-users = [ + "grue" + "@wheel" + ]; + substituters = [ + "https://microvm.cachix.org" + "https://nix-serve.hq.c3d2.de" + "https://dump-dvb.cachix.org" + ]; + trusted-substituters = [ + "https://microvm.cachix.org" + "https://nix-serve.hq.c3d2.de" + "https://dump-dvb.cachix.org" + ]; + trusted-public-keys = [ + "microvm.cachix.org-1:oXnBc6hRE3eX5rSYdRyMYXnfzcCxC7yKPTbZXALsqys=" + "nix-serve.hq.c3d2.de:KZRGGnwOYzys6pxgM8jlur36RmkJQ/y8y62e52fj1ps=" + "dump-dvb.cachix.org-1:+Dq7gqpQG4YlLA2X3xJsG1v3BrlUGGpVtUKWk0dTyUU=" + ]; + }; + }; +} |
