nixos-config/hosts/vm/configuration.nix

9 lines
291 B
Nix
Raw Normal View History

2021-04-10 18:39:29 +00:00
{ config, ... }:
2021-04-10 16:55:17 +00:00
{
sconfig.profile = "server";
boot.loader.grub.device = "/dev/vda";
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
security.sudo.wheelNeedsPassword = false;
2021-04-10 18:39:29 +00:00
users.users.root.openssh.authorizedKeys = config.users.users.sean.openssh.authorizedKeys;
2021-04-10 16:55:17 +00:00
}