23 lines
421 B
Nix
23 lines
421 B
Nix
{ lib, pkgs, config, ... }: {
|
|
|
|
deployment = {
|
|
targetHost = "10.0.0.2";
|
|
targetPort = 22;
|
|
targetUser = "root";
|
|
};
|
|
networking = {
|
|
hostName = "nginx";
|
|
interfaces.eth0 = {
|
|
ipAddress = "10.0.0.2";
|
|
prefixLength = 16;
|
|
};
|
|
defaultGateway = {
|
|
address = "10.0.0.254";
|
|
interface = "eth0";
|
|
};
|
|
};
|
|
imports = [
|
|
../container_config.nix
|
|
../services/nginx.nix
|
|
];
|
|
}
|