add root ssh keys to test vm

This commit is contained in:
Sean Buckley 2021-04-10 14:39:29 -04:00
parent 0d08424929
commit 2be07e277e

View file

@ -1,7 +1,8 @@
{ ... }:
{ config, ... }:
{
sconfig.profile = "server";
boot.loader.grub.device = "/dev/vda";
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
security.sudo.wheelNeedsPassword = false;
users.users.root.openssh.authorizedKeys = config.users.users.sean.openssh.authorizedKeys;
}