diff --git a/cachix/nix-community.nix b/cachix/nix-community.nix deleted file mode 100644 index b0a63e9..0000000 --- a/cachix/nix-community.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ - nix = { - binaryCaches = [ "https://nix-community.cachix.org" ]; - binaryCachePublicKeys = [ - "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" - ]; - }; -} diff --git a/configuration.nix b/configuration.nix index 6d9227f..469c878 100644 --- a/configuration.nix +++ b/configuration.nix @@ -108,7 +108,6 @@ with pkgs; ./modules/printing.nix ./modules/periodic.nix ./modules/power.nix - ./modules/cachix.nix ./overlays/emacs.nix ./overlays/nix-direnv.nix ]; diff --git a/flake.nix b/flake.nix index 0aa48e3..092923c 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,15 @@ { description = "System configuration for panacea"; + nixConfig = { + extra-substituters = + [ "https://cachix.cachix.org" "https://nix-community.cachix.org" ]; + extra-trusted-public-keys = [ + "cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + ]; + }; + inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; agenix.url = "github:ryantm/agenix";