enable cachix

This commit is contained in:
Vinzenz Schroeter 2023-10-31 14:43:00 +01:00
parent 1559d8ccbd
commit 37f5935b3f

View file

@ -24,6 +24,13 @@ in {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.my.allowUnfreePackages;
};
nix = {
settings = {
substituters = ["https://nix-community.cachix.org" "https://cache.nixos.org/"];
trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
};
};
system = {
stateVersion = "22.11";
# enable auto updates