2019-07-02 21:11:32 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2019-09-05 17:05:14 +02:00
|
|
|
imports = [ ./common.nix ];
|
2019-07-02 21:11:32 +02:00
|
|
|
|
2019-09-05 17:05:14 +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
|
|
|
};
|
|
|
|
|
|
|
|
}
|