forked from Fediversity/Fediversity
24 lines
631 B
Nix
24 lines
631 B
Nix
|
{
|
||
|
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";
|
||
|
};
|
||
|
}
|