mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-09-14 18:14:43 +00:00
add root ssh keys to test vm
This commit is contained in:
parent
0d08424929
commit
2be07e277e
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
||||||
{ ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
sconfig.profile = "server";
|
sconfig.profile = "server";
|
||||||
boot.loader.grub.device = "/dev/vda";
|
boot.loader.grub.device = "/dev/vda";
|
||||||
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
|
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
|
users.users.root.openssh.authorizedKeys = config.users.users.sean.openssh.authorizedKeys;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue