Browse Source

mail: prepare

nek0/mail_redux
Astro 8 months ago
parent
commit
7ce04c0c1e
  1. 8
      flake.lock
  2. 8
      flake.nix
  3. 9
      hosts/containers/mail/default.nix

8
flake.lock

@ -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"
},

8
flake.nix

@ -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;

9
hosts/containers/mail/default.nix

@ -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…
Cancel
Save