Remove SSL in VM

This commit is contained in:
Nicolas Jeannerod 2024-09-24 14:51:41 +02:00
parent af4f77a767
commit 14de9dec55

View file

@ -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;