From 5c76b5734bff270cbe78b7a0e67047051c813bee Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 16 Sep 2023 13:33:00 +0900 Subject: [PATCH] test --- sd-image.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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