hashed password file
This commit is contained in:
parent
0814fdc0de
commit
bc3b131642
4 changed files with 6 additions and 6 deletions
|
|
@ -369,7 +369,7 @@ e.g. inside your `flake.nix` file:
|
||||||
{
|
{
|
||||||
users.users.user1 = {
|
users.users.user1 = {
|
||||||
isNormalUser = true;
|
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 = {
|
programs.some-program = {
|
||||||
enable = true;
|
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 = {
|
users.users.ryantm = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
passwordFile = config.age.secrets.passwordfile-ryantm.path;
|
hashedPasswordFile = config.age.secrets.passwordfile-ryantm.path;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ Example referring to path:
|
||||||
{
|
{
|
||||||
users.users.ryantm = {
|
users.users.ryantm = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
passwordFile = config.age.secrets.passwordfile-ryantm.path;
|
hashedPasswordFile = config.age.secrets.passwordfile-ryantm.path;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
{
|
{
|
||||||
users.users.user1 = {
|
users.users.user1 = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
passwordFile = config.age.secrets.secret1.path;
|
hashedPasswordFile = config.age.secrets.secret1.path;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ pkgs.nixosTest {
|
||||||
users = {
|
users = {
|
||||||
user1 = {
|
user1 = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
passwordFile = config.age.secrets.passwordfile-user1.path;
|
hashedPasswordFile = config.age.secrets.passwordfile-user1.path;
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue