Setup personal binary cache
This commit is contained in:
parent
463c1eb5d4
commit
13973b3641
|
@ -190,11 +190,18 @@ in
|
||||||
];
|
];
|
||||||
# Set system state version
|
# Set system state version
|
||||||
system.stateVersion = "22.05";
|
system.stateVersion = "22.05";
|
||||||
|
|
||||||
|
nix = {
|
||||||
# Enable flakes
|
# Enable flakes
|
||||||
# Enable nix flakes
|
package = pkgs.nixFlakes;
|
||||||
nix.package = pkgs.nixFlakes;
|
extraOptions = ''
|
||||||
nix.extraOptions = ''
|
|
||||||
experimental-features = nix-command flakes
|
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=" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue