diff options
| author | Fuwn <[email protected]> | 2024-09-30 23:04:07 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-30 23:04:07 -0700 |
| commit | 14a8b6290c07fd96357f5bf758a8cc03893443b5 (patch) | |
| tree | 5e6cb55a7914f6d0a6258ae3644e3b354708fe00 /hosts/fina | |
| parent | himeji: sync with kanisaPkgs (diff) | |
| download | nixos-config-14a8b6290c07fd96357f5bf758a8cc03893443b5.tar.xz nixos-config-14a8b6290c07fd96357f5bf758a8cc03893443b5.zip | |
fina: add initial hashed password
Diffstat (limited to 'hosts/fina')
| -rw-r--r-- | hosts/fina/default.nix | 12 |
1 files changed, 9 insertions, 3 deletions
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; [ |