This commit is contained in:
Daniel Poelzleithner 2019-08-15 18:12:55 +02:00
parent 4ecadc5860
commit 092d4b00e5
4 changed files with 12 additions and 1 deletions

View File

@ -32,6 +32,15 @@
];
enable = false;
};
dhcpcd.denyInterfaces = [ "eth1" ];
# interface for mgmt network
interfaces.eth1 = {
ipv4.addresses = [{
address = "10.0.0.251";
prefixLength = 24;
}];
useDHCP = false;
};
};
services.openssh = {

View File

@ -13,6 +13,7 @@
environment.systemPackages = with pkgs; [
vim
mongodb-tools
];
networking = {

View File

@ -82,6 +82,7 @@
exporters.collectd.openFirewall = true;
exporters.nginx.enable = true;
exporters.nginx.openFirewall = true;
};

View File

@ -100,7 +100,7 @@
hosts/containers/mongo/configuration.nix
];
deployment = {
targetHost = "2a02:8106:208:5282:14ec:c8ff:fe0a:fc5c";
targetHost = "2a02:8106:208:5282:5038:2aff:feba:7d3b";
storeKeysOnMachine = true;
};
};