examples/qemu: disable hardened preset
- Hardening is irrelevant in examples - The decreased performance is especially noticeable in VMs
This commit is contained in:
parent
908af3bfb8
commit
03515a8da6
@ -1,7 +1,12 @@
|
|||||||
{
|
{
|
||||||
virtualisation.graphics = false;
|
# Disable the hardened preset to improve VM performance
|
||||||
services.mingetty.autologinUser = "root";
|
disabledModules = [ <nix-bitcoin/modules/presets/hardened.nix> ];
|
||||||
users.users.root = {
|
|
||||||
openssh.authorizedKeys.keyFiles = [ ./id-vm.pub ];
|
config = {
|
||||||
|
virtualisation.graphics = false;
|
||||||
|
services.mingetty.autologinUser = "root";
|
||||||
|
users.users.root = {
|
||||||
|
openssh.authorizedKeys.keyFiles = [ ./id-vm.pub ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user