rewrite heimdall

This commit is contained in:
Andreas Zweili 2022-02-28 21:56:13 +01:00
parent 3dbe3ceef6
commit 6286bb181d
2 changed files with 16 additions and 8 deletions

View File

@ -115,15 +115,9 @@
./home-manager/headless.nix
[ ];
heimdall = mkComputer
(mkVM
{ hostname = "heimdall"; ip = "10.7.89.121"; inherit custom inputs; })
./systems/heimdall
./home-manager/headless.nix
[
./modules/docker
(import ./modules/restic-server-client {
inherit custom inputs; time = "22:00";
})
];
[ ];
grav = mkComputer
(mkVM

View File

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