From b22afe011d60c8e6a746a87a82f020037ab43636 Mon Sep 17 00:00:00 2001 From: Thomas Syms Date: Mon, 6 May 2024 11:14:36 -0300 Subject: [PATCH] Added proper cachix support --- modules/system.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/system.nix b/modules/system.nix index 3c15e5b..92c7d37 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -3,7 +3,15 @@ pkgs, ... }: { - nix.settings.experimental-features = ["nix-command" "flakes"]; + nix.settings = { + experimental-features = ["nix-command" "flakes"]; + substituters = [ + "https://nix-community.cachix.org" + ]; + trusted-public-keys = [ + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; # Enable CUPS to print documents. services.printing.enable = true;