rewrite nextcloud

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

View File

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

View File

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