24 lines
458 B
Nix
24 lines
458 B
Nix
{ lib, pkgs, config, ... }: {
|
|
|
|
deployment = {
|
|
targetHost = "10.10.0.1";
|
|
targetPort = 22;
|
|
targetUser = "root";
|
|
tags = [ "cube" ];
|
|
};
|
|
networking = {
|
|
hostName = "nginx";
|
|
interfaces.eth0 = {
|
|
ipAddress = "10.10.0.1";
|
|
prefixLength = 16;
|
|
};
|
|
defaultGateway = {
|
|
address = "10.10.0.254";
|
|
interface = "eth0";
|
|
};
|
|
};
|
|
imports = [
|
|
../../container_config.nix
|
|
../../services/nginx_cube.nix
|
|
];
|
|
}
|