test
This commit is contained in:
parent
0a8560d149
commit
5c76b5734b
1 changed files with 9 additions and 1 deletions
10
sd-image.nix
10
sd-image.nix
|
@ -8,9 +8,17 @@ in {
|
|||
# Simple bootstrap SD image for the Raspberry Pi
|
||||
imports = [
|
||||
<nixpkgs/nixos/modules/installer/sd-card/sd-image-aarch64.nix>
|
||||
./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";
|
||||
}
|
Loading…
Reference in a new issue