From 856ddbff10b83419a3a974beb0bc36120e77a9d6 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Fri, 26 Apr 2024 10:17:06 +0530 Subject: [PATCH] setup substituters --- common/nix.nix | 6 ++++++ flake.nix | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/common/nix.nix b/common/nix.nix index 6a671c2..bbf149e 100644 --- a/common/nix.nix +++ b/common/nix.nix @@ -13,10 +13,16 @@ auto-allocate-uids = true; sandbox = true; trusted-substituters = [ + "https://cache.nixos.org/" "https://nix-community.cachix.org/" + "https://helix.cachix.org" + "https://hyprland.cachix.org" ]; trusted-public-keys = [ + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs=" + "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ]; trusted-users = [ "@wheel" ]; use-cgroups = true; diff --git a/flake.nix b/flake.nix index 9acae3b..7e7642c 100644 --- a/flake.nix +++ b/flake.nix @@ -3,14 +3,16 @@ nixConfig = { extra-substituters = [ - "https://nix-community.cachix.org/" "https://helix.cachix.org" "https://hyprland.cachix.org" + "https://nix-community.cachix.org" + "https://cache.nixos.org" ]; extra-trusted-public-keys = [ - "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ]; };