fix VMs on nixos-22.05

This commit is contained in:
Erik Arvstedt
2022-06-28 00:09:26 +02:00
parent f52ff8fdb5
commit 15e7b32c2d
4 changed files with 15 additions and 6 deletions
+3
View File
@@ -1,7 +1,10 @@
{ modulesPath, ... }:
{
# Disable the hardened preset to improve VM performance
disabledModules = [ <nix-bitcoin/modules/presets/hardened.nix> ];
imports = [ "${modulesPath}/virtualisation/qemu-vm.nix" ];
config = {
virtualisation.graphics = false;
services.getty.autologinUser = "root";