forked from Fediversity/Fediversity
pass in description fix syntax configure proxmox provider typo add doc comment in existing modules add comment allow insecure proxmox connection for use in dev wip proxmox progress use service configurations moved to machine-independent location wire settings directly without option block terraform adjust cwd try tf on null input update .envrc.sample with sample proxmox credentials
31 lines
867 B
Nix
31 lines
867 B
Nix
{ lib, ... }:
|
|
{
|
|
fediversityVm = {
|
|
vmId = 2116;
|
|
proxmox = "procolix";
|
|
description = "Forgejo";
|
|
|
|
ipv4.address = "185.206.232.34";
|
|
ipv6.address = "2a00:51c0:12:1201::20";
|
|
};
|
|
|
|
## vm02116 is running on old hardware based on a Xen VM environment, so it
|
|
## needs these extra options. Once the VM gets moved to a newer node, these
|
|
## two options can safely be removed.
|
|
boot.initrd.availableKernelModules = [ "xen_blkfront" ];
|
|
services.xe-guest-utilities.enable = true;
|
|
|
|
## NOTE: This VM was created manually, which requires us to override the
|
|
## default disko-based `fileSystems` definition.
|
|
fileSystems = lib.mkForce {
|
|
"/" = {
|
|
device = "/dev/disk/by-uuid/3802a66d-e31a-4650-86f3-b51b11918853";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
"/boot" = {
|
|
device = "/dev/disk/by-uuid/2CE2-1173";
|
|
fsType = "vfat";
|
|
};
|
|
};
|
|
}
|