2025-02-15 11:19:10 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
modulesPath,
|
|
|
|
...
|
|
|
|
}:
|
2024-09-17 14:30:59 +02:00
|
|
|
|
2024-09-24 14:51:41 +02:00
|
|
|
let
|
|
|
|
inherit (lib) mkVMOverride;
|
|
|
|
|
2024-11-11 17:25:42 +01:00
|
|
|
in
|
2024-11-11 17:28:35 +01:00
|
|
|
|
2024-11-11 17:25:42 +01:00
|
|
|
{
|
2024-10-01 10:02:01 +02:00
|
|
|
imports = [ (modulesPath + "/virtualisation/qemu-vm.nix") ];
|
2024-09-17 14:30:59 +02:00
|
|
|
|
|
|
|
fediversity = {
|
2024-09-17 17:31:58 +02:00
|
|
|
domain = "localhost";
|
2025-02-15 11:19:10 +01:00
|
|
|
pixelfed = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
s3AccessKeyFile = pkgs.writeText "s3AccessKey" "GKb5615457d44214411e673b7b";
|
|
|
|
s3SecretKeyFile = pkgs.writeText "s3SecretKey" "5be6799a88ca9b9d813d1a806b64f15efa49482dbe15339ddfaf7f19cf434987";
|
|
|
|
};
|
2024-09-17 14:30:59 +02:00
|
|
|
};
|
|
|
|
|
2024-08-28 08:35:48 -04:00
|
|
|
services.pixelfed = {
|
|
|
|
settings = {
|
|
|
|
FORCE_HTTPS_URLS = false;
|
|
|
|
};
|
2024-09-24 14:51:41 +02:00
|
|
|
nginx = {
|
|
|
|
forceSSL = mkVMOverride false;
|
|
|
|
enableACME = mkVMOverride false;
|
|
|
|
};
|
2024-08-28 08:35:48 -04:00
|
|
|
};
|
|
|
|
}
|