Remove SSL in VM

This commit is contained in:
Nicolas Jeannerod 2024-09-24 14:51:41 +02:00
parent a600829d56
commit bf303ff1d1
Signed by: Niols
GPG key ID: 35DB9EC8886E1CB8

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;