From 026a8ee602420276c9f8e8487d94e9b3731a0577 Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Mon, 18 Mar 2024 22:00:33 +0100 Subject: [PATCH] add cachix --- common/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/common/default.nix b/common/default.nix index f1cab42..8aaea04 100644 --- a/common/default.nix +++ b/common/default.nix @@ -6,4 +6,13 @@ ... }: { nixpkgs.config.permittedInsecurePackages = ["electron-25.9.0" "electron-24.8.6"]; + nix.settings = { + trusted-users = [ "xqtc" ]; + substituters = [ + "https://nix-community.cachix.org" + ]; + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; }