Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { pkgs, ... }: {
- imports = [
- <nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix>
- ];
- security.sudo.wheelNeedsPassword = false;
- services.sshd.enable = true;
- users.extraUsers.you = {
- extraGroups = [
- "wheel"
- ];
- isNormalUser = true;
- openssh.authorizedKeys.keys = [
- "ssh-rsa YOUR PUBLIC KEY you@your-machine"
- ];
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement