Setup personal binary cache

This commit is contained in:
Nathan McCarty 2022-09-09 20:54:17 -04:00
parent 463c1eb5d4
commit 13973b3641
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 13 additions and 6 deletions

View File

@ -190,11 +190,18 @@ in
];
# Set system state version
system.stateVersion = "22.05";
# Enable flakes
# Enable nix flakes
nix.package = pkgs.nixFlakes;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
nix = {
# Enable flakes
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
# Setup my binary cache
settings = {
substituters = [ "https://thatonelutenist-nix-cache.s3.us-west-002.backblazeb2.com/" ];
trusted-public-keys = [ "nathan-nix-cache:R5/0GiItBM64sNgoFC/aSWuAopOAsObLcb/mwDf335A=" ];
};
};
};
}