From a9532469718f53912a66073dfae12a5bcf8e7ffa Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Wed, 25 May 2022 19:27:42 +0200 Subject: init --- modules/binary-caches.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 modules/binary-caches.nix (limited to 'modules/binary-caches.nix') 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=" + ]; + }; + }; +} -- cgit v1.3.1