nix-config/lib/common/c3d2.nix

19 lines
372 B
Nix
Raw Normal View History

2019-07-02 21:11:32 +02:00
{ config, pkgs, ... }:
{
imports = [ ./common.nix ];
2019-07-02 21:11:32 +02:00
users.motd = builtins.readFile ./motd;
networking.domain = "hq.c3d2.de";
nix = if config.services.nix-serve.enable then
{ }
else {
binaryCaches = [ "https://nix-serve.hq.c3d2.de" ];
binaryCachePublicKeys =
[ "nix-serve.hq.c3d2.de:FEi9GyFkou1Ua8INaEKmuGaww9E5y3XwrNGNRfKYeLo=" ];
2019-07-02 21:11:32 +02:00
};
}