Fediversity/services/vm/peertube-vm.nix

23 lines
372 B
Nix
Raw Permalink Normal View History

2024-11-11 17:28:35 +01:00
{ modulesPath, ... }:
2024-11-11 17:25:42 +01:00
{
2024-09-17 17:58:09 +02:00
imports = [ (modulesPath + "/virtualisation/qemu-vm.nix") ];
2024-09-17 17:58:09 +02:00
services.peertube = {
enableWebHttps = false;
settings = {
listen.hostname = "0.0.0.0";
instance.name = "PeerTube Test VM";
};
};
virtualisation.forwardPorts = [
{
from = "host";
host.port = 9000;
guest.port = 9000;
}
];
}