Compare commits

..

No commits in common. "38585ba310fc9770e7a5ab30be1af94bf8d1020a" and "257788d5b749074428dfa0c2fc4c4c94726bbbca" have entirely different histories.

5 changed files with 23 additions and 3 deletions

View file

@ -48,6 +48,16 @@ in
services.proxmox-ve = {
enable = true;
ipAddress = "192.168.1.1";
vms = {
myvm1 = {
vmid = 100;
memory = 1024;
cores = 1;
sockets = 1;
kvm = true;
scsi = [ { file = "local:16"; } ];
};
};
};
virtualisation = {
diskSize = 2 * 1024;

View file

@ -49,6 +49,16 @@ in
services.proxmox-ve = {
enable = true;
ipAddress = "192.168.1.1";
vms = {
myvm1 = {
vmid = 100;
memory = 1024;
cores = 1;
sockets = 1;
kvm = true;
scsi = [ { file = "local:16"; } ];
};
};
};
virtualisation = {
diskSize = 2 * 1024;

View file

@ -548,7 +548,7 @@ let
(pkgs.callPackage ./run/tf-proxmox/tf.nix { inherit sources; })
])
''
set -e
set -xe
# bash ./infra/proxmox-remove.sh \
# --api-url "https://${proxmox-host}:8006/api2/json" \

View file

@ -1,5 +1,5 @@
#! /usr/bin/env bash
set -euo pipefail
set -xeuo pipefail
declare tf_env
export TF_LOG=info

View file

@ -4,7 +4,7 @@
sources,
}:
pkgs.writeScriptBin "setup" ''
set -e
set -xe
# calculated pins
echo '${lib.strings.toJSON sources}' > ./.npins.json
# generate TF lock for nix's TF providers