forked from Fediversity/simple-nixos-fediverse
Remove SSL in VM
This commit is contained in:
parent
a600829d56
commit
bf303ff1d1
|
@ -1,5 +1,9 @@
|
||||||
{ pkgs, modulesPath, ... }: {
|
{ pkgs, lib, modulesPath, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (lib) mkVMOverride;
|
||||||
|
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../fediversity
|
../fediversity
|
||||||
(modulesPath + "/virtualisation/qemu-vm.nix")
|
(modulesPath + "/virtualisation/qemu-vm.nix")
|
||||||
|
@ -15,6 +19,10 @@
|
||||||
settings = {
|
settings = {
|
||||||
FORCE_HTTPS_URLS = false;
|
FORCE_HTTPS_URLS = false;
|
||||||
};
|
};
|
||||||
|
nginx = {
|
||||||
|
forceSSL = mkVMOverride false;
|
||||||
|
enableACME = mkVMOverride false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.memorySize = 2048;
|
virtualisation.memorySize = 2048;
|
||||||
|
|
Reference in a new issue