2023-09-11 20:23:04 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
2019-03-23 02:50:48 +01:00
|
|
|
with lib;
|
2023-09-11 20:23:04 +02:00
|
|
|
mkIf (elem "containers" config.machine.services) {
|
|
|
|
containers.CDServer = {
|
|
|
|
privateNetwork = true;
|
|
|
|
hostAddress = "192.168.100.10";
|
|
|
|
localAddress = "192.168.100.11";
|
|
|
|
config = {
|
2019-03-23 02:50:48 +01:00
|
|
|
imports = [
|
|
|
|
../machines/CDServer/options.nix
|
|
|
|
./default.nix
|
|
|
|
../config/default.nix
|
|
|
|
../pkgs/nixpkgs.nix
|
|
|
|
../pkgs/pkgsets.nix
|
|
|
|
];
|
2023-09-11 20:23:04 +02:00
|
|
|
services.nixosManual.showManual = false;
|
|
|
|
services.ntp.enable = false;
|
2019-03-23 02:50:48 +01:00
|
|
|
};
|
2023-09-11 20:23:04 +02:00
|
|
|
};
|
|
|
|
}
|