mail: prepare
This commit is contained in:
parent
e5524fc780
commit
7ce04c0c1e
|
@ -199,11 +199,11 @@
|
||||||
"zentralwerk-network-key": "zentralwerk-network-key"
|
"zentralwerk-network-key": "zentralwerk-network-key"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1632781451,
|
"lastModified": 1633127122,
|
||||||
"narHash": "sha256-7l3GPJNOairH6tAV7f/YmJ3f13TSsMnF1Yd98lLrSSU=",
|
"narHash": "sha256-mpCuU7znU3bnsJv0HGQo2cv+RZ9HOSnLtRB4fQjkfek=",
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"rev": "6245887f0f275255cbd9eb6028b142d6dadd67ae",
|
"rev": "89b1b637cbb03d99b5bbb193eec68dafda5c00b1",
|
||||||
"revCount": 1184,
|
"revCount": 1188,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://gitea.c3d2.de/zentralwerk/network.git"
|
"url": "https://gitea.c3d2.de/zentralwerk/network.git"
|
||||||
},
|
},
|
||||||
|
|
|
@ -342,6 +342,14 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mail = nixosSystem' {
|
||||||
|
modules = [
|
||||||
|
./lib/lxc-container.nix
|
||||||
|
./hosts/containers/mail
|
||||||
|
];
|
||||||
|
system = "x86_64-linux";
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosModule = import ./lib;
|
nixosModule = import ./lib;
|
||||||
|
|
9
hosts/containers/mail/default.nix
Normal file
9
hosts/containers/mail/default.nix
Normal 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";
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user