diff --git a/sd-image.nix b/sd-image.nix index 4f64db7c..eef24ad6 100644 --- a/sd-image.nix +++ b/sd-image.nix @@ -8,9 +8,17 @@ in { # Simple bootstrap SD image for the Raspberry Pi imports = [ - ./nixos/users/albert ]; # Temporarily allow ssh access for imaging networking.firewall.allowedTCPPorts = [ 22 ]; + + # User for ssh + # Define a user account. + users.users.albert = { + isNormalUser = true; + description = "Albert J. Copeland"; + extraGroups = [ "networkmanager" "wheel" ]; + # mkpasswd -m sha-512 + hashedPassword = "$y$j9T$wKLsIWaA4Gf63RvjedwLJ0$EHKL6BBJV0CAxEKcHHjaBqW085KJ/MGvmbyWzmcWOy6"; } \ No newline at end of file