mail: prepare

This commit is contained in:
Astro 2021-10-02 00:46:59 +02:00
parent e5524fc780
commit 7ce04c0c1e
3 changed files with 21 additions and 4 deletions

View File

@ -199,11 +199,11 @@
"zentralwerk-network-key": "zentralwerk-network-key"
},
"locked": {
"lastModified": 1632781451,
"narHash": "sha256-7l3GPJNOairH6tAV7f/YmJ3f13TSsMnF1Yd98lLrSSU=",
"lastModified": 1633127122,
"narHash": "sha256-mpCuU7znU3bnsJv0HGQo2cv+RZ9HOSnLtRB4fQjkfek=",
"ref": "master",
"rev": "6245887f0f275255cbd9eb6028b142d6dadd67ae",
"revCount": 1184,
"rev": "89b1b637cbb03d99b5bbb193eec68dafda5c00b1",
"revCount": 1188,
"type": "git",
"url": "https://gitea.c3d2.de/zentralwerk/network.git"
},

View File

@ -342,6 +342,14 @@
system = "x86_64-linux";
};
mail = nixosSystem' {
modules = [
./lib/lxc-container.nix
./hosts/containers/mail
];
system = "x86_64-linux";
};
};
nixosModule = import ./lib;

View File

@ -0,0 +1,9 @@
{
networking.hostName = "mail";
networking.useNetworkd = true;
networking.interfaces.eth0.ipv4.addresses = [{
address = "172.20.73.58";
prefixLength = 26;
}];
networking.defaultGateway = "172.20.73.1";
}