From 01b97bf22c53658cf8965609b49d6c22b762f9bc Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Thu, 7 Nov 2024 01:20:00 +0100 Subject: [PATCH] nix: add cachix community cache --- flake.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/flake.nix b/flake.nix index 236418f..b026f57 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,18 @@ { description = "NixOS configuration"; + nixConfig = { + substituters = [ + "https://cache.nixos.org/" + ]; + extra-substituters = [ + "https://nix-community.cachix.org" + ]; + extra-trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; + inputs = { neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";