diff --git a/hosts/vm/configuration.nix b/hosts/vm/configuration.nix index da04115..2822611 100644 --- a/hosts/vm/configuration.nix +++ b/hosts/vm/configuration.nix @@ -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; }