This commit is contained in:
iFargle 2023-09-16 13:33:00 +09:00
parent 0a8560d149
commit 5c76b5734b

View file

@ -8,9 +8,17 @@ in {
# Simple bootstrap SD image for the Raspberry Pi # Simple bootstrap SD image for the Raspberry Pi
imports = [ imports = [
<nixpkgs/nixos/modules/installer/sd-card/sd-image-aarch64.nix> <nixpkgs/nixos/modules/installer/sd-card/sd-image-aarch64.nix>
./nixos/users/albert
]; ];
# Temporarily allow ssh access for imaging # Temporarily allow ssh access for imaging
networking.firewall.allowedTCPPorts = [ 22 ]; 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";
} }