about summary refs log tree commit diff
path: root/users/wpcarro/nixos/ava
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-09-23T17·50-0700
committerwpcarro <wpcarro@gmail.com>2022-10-15T22·20+0000
commit8cbf308be493b8bd0946e2d08b791233d5a5417b (patch)
tree0316761adc834d6b7f505e1a93fda2b2b622ba4b /users/wpcarro/nixos/ava
parent941ed69d4b2a8d2736f61456bcc2dbcedb13d715 (diff)
feat(wpcarro/ava): Set initialPassword r/5139
This is useful when first setting up a device. Call `passwd` afterwards to
imperatively change the password.

Change-Id: I070f1cfaf05a38844ee363be4d511035e77096d6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7013
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Diffstat (limited to 'users/wpcarro/nixos/ava')
-rw-r--r--users/wpcarro/nixos/ava/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/wpcarro/nixos/ava/default.nix b/users/wpcarro/nixos/ava/default.nix
index 280b9f45e3a3..a123f454ca29 100644
--- a/users/wpcarro/nixos/ava/default.nix
+++ b/users/wpcarro/nixos/ava/default.nix
@@ -87,6 +87,7 @@ in
     tarasco
   ];
   users.users.wpcarro = {
+    initialPassword = "password";
     isNormalUser = true;
     extraGroups = [
       "networkmanager"