Fediversity/infra/vm02117/default.nix

28 lines
665 B
Nix
Raw Normal View History

2025-01-15 16:22:35 +01:00
{
imports = [
../common
];
procolix.vm = {
name = "vm02117";
ip4 = "185.206.232.106";
ip6 = "2a00:51c0:12:1201::106";
};
## vm02117 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;
fileSystems."/" = {
device = "/dev/disk/by-uuid/5aa392a8-c9ba-4181-976f-b3b30db350a1";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/FC6D-610F";
fsType = "vfat";
};
}