mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-23 06:42:51 +03:00
16 lines
404 B
Nix
16 lines
404 B
Nix
{ 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";
|
|
users.users.root = {
|
|
openssh.authorizedKeys.keyFiles = [ ./id-vm.pub ];
|
|
};
|
|
};
|
|
}
|