all: switch from host-specific check to service check for substituters
This commit is contained in:
parent
5ad15a7580
commit
519c437cef
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user