mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 13:32:15 -06:00
feat: set up declarative password with sops
This commit is contained in:
parent
05ea17564f
commit
882c220bef
1 changed files with 33 additions and 28 deletions
|
|
@ -22,7 +22,11 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
users.${user0} = {
|
users = {
|
||||||
|
"root" = {
|
||||||
|
hashedPasswordFile = config.sops.secrets."passwords/user0".path;
|
||||||
|
};
|
||||||
|
${user0} = {
|
||||||
description = name;
|
description = name;
|
||||||
name = user0;
|
name = user0;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
@ -52,6 +56,7 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
home-manager.users = {
|
home-manager.users = {
|
||||||
${user0} = {
|
${user0} = {
|
||||||
home = {
|
home = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue