mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-30 13:38:37 +03:00
0ef66c920b
services.mingetty is equivalent but deprecated.
13 lines
318 B
Nix
13 lines
318 B
Nix
{
|
|
# Disable the hardened preset to improve VM performance
|
|
disabledModules = [ <nix-bitcoin/modules/presets/hardened.nix> ];
|
|
|
|
config = {
|
|
virtualisation.graphics = false;
|
|
services.getty.autologinUser = "root";
|
|
users.users.root = {
|
|
openssh.authorizedKeys.keyFiles = [ ./id-vm.pub ];
|
|
};
|
|
};
|
|
}
|