Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. { pkgs, ... }: {
  2.  
  3. imports = [
  4. <nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix>
  5. ];
  6.  
  7. security.sudo.wheelNeedsPassword = false;
  8. services.sshd.enable = true;
  9.  
  10. users.extraUsers.you = {
  11. extraGroups = [
  12. "wheel"
  13. ];
  14. isNormalUser = true;
  15. openssh.authorizedKeys.keys = [
  16. "ssh-rsa YOUR PUBLIC KEY you@your-machine"
  17. ];
  18. };
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement