rewrite mail

This commit is contained in:
Andreas Zweili 2022-02-28 22:12:16 +01:00
parent fdac040b3f
commit 3be424271b
2 changed files with 16 additions and 9 deletions

View File

@ -143,16 +143,9 @@
./home-manager/headless.nix
[ ];
mail = mkComputer
(mkVM
{ hostname = "mail"; ip = "10.7.89.123"; inherit custom inputs; })
./systems/mail
./home-manager/headless.nix
[
./modules/docker
(import ./modules/restic-server-client {
inherit custom inputs; time = "04:30";
})
];
[ ];
pihole = mkComputer
(mkVM
{ hostname = "pihole"; ip = "10.7.89.2"; inherit custom inputs; })

14
systems/mail/default.nix Normal file
View File

@ -0,0 +1,14 @@
{ config, custom, inputs, pkgs, ... }:
{
imports = [
(import "${inputs.self}/systems/proxmox-vm" {
hostname = "mail";
ip = "10.7.89.123";
inherit inputs;
})
(import "${inputs.self}/modules/restic-server-client" {
time = "04:30"; inherit config custom inputs pkgs;
})
"${inputs.self}/modules/docker"
];
}