Move cachix configuration to flake.nix

This commit is contained in:
coolneng 2021-11-24 23:42:09 +01:00
parent de3573b88d
commit 66d750f196
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
3 changed files with 9 additions and 9 deletions

View File

@ -1,8 +0,0 @@
{
nix = {
binaryCaches = [ "https://nix-community.cachix.org" ];
binaryCachePublicKeys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
}

View File

@ -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
];

View File

@ -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";