forked from fediversity/fediversity
Compare commits
2 commits
257788d5b7
...
38585ba310
| Author | SHA1 | Date | |
|---|---|---|---|
| 38585ba310 | |||
| b69c39387a |
5 changed files with 3 additions and 23 deletions
|
|
@ -48,16 +48,6 @@ in
|
||||||
services.proxmox-ve = {
|
services.proxmox-ve = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ipAddress = "192.168.1.1";
|
ipAddress = "192.168.1.1";
|
||||||
vms = {
|
|
||||||
myvm1 = {
|
|
||||||
vmid = 100;
|
|
||||||
memory = 1024;
|
|
||||||
cores = 1;
|
|
||||||
sockets = 1;
|
|
||||||
kvm = true;
|
|
||||||
scsi = [ { file = "local:16"; } ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
diskSize = 2 * 1024;
|
diskSize = 2 * 1024;
|
||||||
|
|
|
||||||
|
|
@ -49,16 +49,6 @@ in
|
||||||
services.proxmox-ve = {
|
services.proxmox-ve = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ipAddress = "192.168.1.1";
|
ipAddress = "192.168.1.1";
|
||||||
vms = {
|
|
||||||
myvm1 = {
|
|
||||||
vmid = 100;
|
|
||||||
memory = 1024;
|
|
||||||
cores = 1;
|
|
||||||
sockets = 1;
|
|
||||||
kvm = true;
|
|
||||||
scsi = [ { file = "local:16"; } ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
diskSize = 2 * 1024;
|
diskSize = 2 * 1024;
|
||||||
|
|
|
||||||
|
|
@ -548,7 +548,7 @@ let
|
||||||
(pkgs.callPackage ./run/tf-proxmox/tf.nix { inherit sources; })
|
(pkgs.callPackage ./run/tf-proxmox/tf.nix { inherit sources; })
|
||||||
])
|
])
|
||||||
''
|
''
|
||||||
set -xe
|
set -e
|
||||||
|
|
||||||
# bash ./infra/proxmox-remove.sh \
|
# bash ./infra/proxmox-remove.sh \
|
||||||
# --api-url "https://${proxmox-host}:8006/api2/json" \
|
# --api-url "https://${proxmox-host}:8006/api2/json" \
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#! /usr/bin/env bash
|
#! /usr/bin/env bash
|
||||||
set -xeuo pipefail
|
set -euo pipefail
|
||||||
declare tf_env
|
declare tf_env
|
||||||
|
|
||||||
export TF_LOG=info
|
export TF_LOG=info
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
sources,
|
sources,
|
||||||
}:
|
}:
|
||||||
pkgs.writeScriptBin "setup" ''
|
pkgs.writeScriptBin "setup" ''
|
||||||
set -xe
|
set -e
|
||||||
# calculated pins
|
# calculated pins
|
||||||
echo '${lib.strings.toJSON sources}' > ./.npins.json
|
echo '${lib.strings.toJSON sources}' > ./.npins.json
|
||||||
# generate TF lock for nix's TF providers
|
# generate TF lock for nix's TF providers
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue