hashed password file

This commit is contained in:
Ryan Mulligan 2025-08-05 15:20:17 -07:00
parent 0814fdc0de
commit bc3b131642
4 changed files with 6 additions and 6 deletions

View file

@ -369,7 +369,7 @@ e.g. inside your `flake.nix` file:
{
users.users.user1 = {
isNormalUser = true;
passwordFile = config.age.secrets.secret1.path;
hashedPasswordFile = config.age.secrets.secret1.path;
};
}
```
@ -416,7 +416,7 @@ The home-manager module follows the same general principles as the NixOS module
{
programs.some-program = {
enable = true;
passwordFile = config.age.secrets.example-secret.path;
hashedPasswordFile = config.age.secrets.example-secret.path;
};
}
```
@ -471,7 +471,7 @@ Example referring to path:
{
users.users.ryantm = {
isNormalUser = true;
passwordFile = config.age.secrets.passwordfile-ryantm.path;
hashedPasswordFile = config.age.secrets.passwordfile-ryantm.path;
};
}
```

View file

@ -46,7 +46,7 @@ Example referring to path:
{
users.users.ryantm = {
isNormalUser = true;
passwordFile = config.age.secrets.passwordfile-ryantm.path;
hashedPasswordFile = config.age.secrets.passwordfile-ryantm.path;
};
}
```

View file

@ -46,7 +46,7 @@
{
users.users.user1 = {
isNormalUser = true;
passwordFile = config.age.secrets.secret1.path;
hashedPasswordFile = config.age.secrets.secret1.path;
};
}
```

View file

@ -42,7 +42,7 @@ pkgs.nixosTest {
users = {
user1 = {
isNormalUser = true;
passwordFile = config.age.secrets.passwordfile-user1.path;
hashedPasswordFile = config.age.secrets.passwordfile-user1.path;
uid = 1000;
};
};