Emery Hemingway
f066f4cb82
Separate modules that add options from modules that change configuration.
12 lines
258 B
Nix
12 lines
258 B
Nix
{ config, lib, ... }:
|
|
{
|
|
nix = lib.mkIf (config.networking.hostName != "hydra") {
|
|
binaryCaches = [
|
|
"https://nix-serve.hq.c3d2.de"
|
|
];
|
|
binaryCachePublicKeys = [
|
|
(builtins.readFile ../hosts/containers/hydra/cache-pub.key)
|
|
];
|
|
};
|
|
}
|