From 14a8b6290c07fd96357f5bf758a8cc03893443b5 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 30 Sep 2024 23:04:07 -0700 Subject: fina: add initial hashed password --- hosts/fina/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'hosts/fina') diff --git a/hosts/fina/default.nix b/hosts/fina/default.nix index 28a8705..cffaed2 100644 --- a/hosts/fina/default.nix +++ b/hosts/fina/default.nix @@ -1,5 +1,6 @@ { pkgs, + secrets, ... }: { @@ -48,9 +49,14 @@ }; }; - users.users.ebisu = { - isNormalUser = true; - extraGroups = [ "wheel" ]; + users.users = { + root.initialHashedPassword = secrets.initial_hashed_password; + + ebisu = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + initialHashedPassword = secrets.initial_hashed_password; + }; }; environment.systemPackages = with pkgs; [ -- cgit v1.2.3