2021-03-08 14:11:15 +00:00
|
|
|
{
|
2021-03-08 14:11:17 +00:00
|
|
|
# Disable the hardened preset to improve VM performance
|
|
|
|
disabledModules = [ <nix-bitcoin/modules/presets/hardened.nix> ];
|
|
|
|
|
|
|
|
config = {
|
|
|
|
virtualisation.graphics = false;
|
2021-08-04 22:48:58 +00:00
|
|
|
services.getty.autologinUser = "root";
|
2021-03-08 14:11:17 +00:00
|
|
|
users.users.root = {
|
|
|
|
openssh.authorizedKeys.keyFiles = [ ./id-vm.pub ];
|
|
|
|
};
|
2021-03-08 14:11:15 +00:00
|
|
|
};
|
|
|
|
}
|