2024-08-28 14:35:48 +02:00
|
|
|
{ pkgs, modulesPath, ... }: {
|
2024-09-17 14:30:59 +02:00
|
|
|
|
|
|
|
imports = [
|
|
|
|
../fediversity
|
|
|
|
(modulesPath + "/virtualisation/qemu-vm.nix")
|
|
|
|
];
|
|
|
|
|
|
|
|
fediversity = {
|
|
|
|
enable = true;
|
2024-09-17 17:31:58 +02:00
|
|
|
domain = "localhost";
|
2024-09-17 14:30:59 +02:00
|
|
|
pixelfed.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-08-28 14:35:48 +02:00
|
|
|
services.pixelfed = {
|
|
|
|
settings = {
|
|
|
|
FORCE_HTTPS_URLS = false;
|
|
|
|
};
|
|
|
|
};
|
2024-09-20 17:56:40 +02:00
|
|
|
|
2024-08-28 14:35:48 +02:00
|
|
|
virtualisation.memorySize = 2048;
|
|
|
|
virtualisation.forwardPorts = [
|
|
|
|
{
|
|
|
|
from = "host";
|
|
|
|
host.port = 8000;
|
|
|
|
guest.port = 80;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
}
|