examples/qemu: disable hardened preset

- Hardening is irrelevant in examples
- The decreased performance is especially noticeable in VMs
This commit is contained in:
Erik Arvstedt 2021-03-08 15:11:17 +01:00 committed by Jonas Nick
parent 908af3bfb8
commit 03515a8da6
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -1,7 +1,12 @@
{
# Disable the hardened preset to improve VM performance
disabledModules = [ <nix-bitcoin/modules/presets/hardened.nix> ];
config = {
virtualisation.graphics = false;
services.mingetty.autologinUser = "root";
users.users.root = {
openssh.authorizedKeys.keyFiles = [ ./id-vm.pub ];
};
};
}