Created
December 12, 2019 05:46
-
-
Save lovesegfault/6d6ef31779aa3ecbc5f9034d1d7d7ada to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ ... }: rec { | |
imports = [ | |
<nixpkgs/nixos/modules/installer/cd-dvd/sd-image-aarch64-new-kernel.nix> | |
]; | |
networking = { | |
hostName = "bohr"; | |
firewall = { | |
enable = true; | |
allowedTCPPorts = services.openssh.ports; | |
}; | |
}; | |
nixpkgs.system = "aarch64-linux"; | |
security.sudo = { | |
enable = true; | |
wheelNeedsPassword = false; | |
}; | |
services.openssh = { | |
enable = true; | |
ports = [ 22 55888 ]; | |
}; | |
users.users.bemeurer = { | |
createHome = true; | |
description = "Bernardo Meurer"; | |
extraGroups = [ "wheel" ]; | |
isNormalUser = true; | |
openssh.authorizedKeys.keys = [ | |
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIQgTWfmR/Z4Szahx/uahdPqvEP/e/KQ1dKUYLenLuY2 bemeurer.personal" | |
]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment