refactoring and cleaning up
This commit is contained in:
parent
7113bb629a
commit
8df968546d
15 changed files with 169 additions and 161 deletions
24
configs/containers/netcup_pve/nginx_container.nix
Normal file
24
configs/containers/netcup_pve/nginx_container.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, pkgs, config, ... }: {
|
||||
|
||||
deployment = {
|
||||
targetHost = "10.0.0.2";
|
||||
targetPort = 22;
|
||||
targetUser = "root";
|
||||
tags = [ "netcup_pve" ];
|
||||
};
|
||||
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
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue