all: switch from host-specific check to service check for substituters

This commit is contained in:
Aaron Bieber 2023-08-11 07:31:38 -06:00
parent 5ad15a7580
commit 519c437cef
No known key found for this signature in database

View File

@ -136,14 +136,14 @@ in {
nix = {
settings =
if config.networking.hostName != "pwntie"
then {
if config.xinCI.enable
then {}
else {
substituters = ["https://nix-binary-cache.humpback-trout.ts.net/"];
trusted-public-keys = [
"nix-binary-cache.humpback-trout.ts.net:e9fJhcRtNVp6miW2pffFyK/gZ2et4y6IDigBNrEsAa0="
];
}
else {};
};
};
environment.systemPackages = with pkgs;