Get Pixelfed running on metal #24
					 1 changed files with 9 additions and 1 deletions
				
			
		|  | @ -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; | ||||
|  |  | |||
		Reference in a new issue