mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-05-06 11:02:20 +02:00
feat: initializes secrets file for fragile; adds yubikey u2f key to secrets and set it to be in the home path of ${username}
This commit is contained in:
parent
f12a9a2c09
commit
175f5eb789
3 changed files with 30 additions and 0 deletions
|
|
@ -49,6 +49,14 @@
|
|||
"dandelionSyncthingId" = { };
|
||||
"sakuraSyncthingId" = { };
|
||||
}
|
||||
else if (host == "fragile") then
|
||||
{
|
||||
"systemMailerPassword" = { };
|
||||
"yubikeySecret" = {
|
||||
owner = username;
|
||||
path = "/home/${username}/.config/Yubico/u2f_keys";
|
||||
};
|
||||
}
|
||||
else
|
||||
{ };
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue