Add initialPassword management to ageni
This commit is contained in:
parent
a45482532d
commit
d1994caee9
4 changed files with 12 additions and 3 deletions
|
@ -28,6 +28,7 @@
|
|||
options = "--delete-older-than 7d";
|
||||
};
|
||||
|
||||
age.secrets.initialPassword.file = ./secrets/initialPassword.age;
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
users = {
|
||||
users.tbarnouin = {
|
||||
|
@ -38,7 +39,7 @@
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAxccGxdfOFXeEClqz3ULl94ubzaJnk4pUus+ek18G0B tbarnouin@nixos"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICf1B0nxNMvPWSR9pStdtx2x6Iw+JUeCCt1CKWoD8dsr"
|
||||
];
|
||||
initialPassword = "test";
|
||||
initialPassword = config.age.initialPassword.path;
|
||||
};
|
||||
users.root = {
|
||||
openssh.authorizedKeys.keys = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue