diff --git a/vm/pixelfed-vm.nix b/vm/pixelfed-vm.nix index 3320ddc4..33536485 100644 --- a/vm/pixelfed-vm.nix +++ b/vm/pixelfed-vm.nix @@ -1,5 +1,9 @@ -{ pkgs, modulesPath, ... }: { +{ pkgs, lib, modulesPath, ... }: +let + inherit (lib) mkVMOverride; + +in { imports = [ ../fediversity (modulesPath + "/virtualisation/qemu-vm.nix") @@ -15,6 +19,10 @@ settings = { FORCE_HTTPS_URLS = false; }; + nginx = { + forceSSL = mkVMOverride false; + enableACME = mkVMOverride false; + }; }; virtualisation.memorySize = 2048;