2023-09-20 18:44:24 +01:00
|
|
|
{...}: {
|
2023-09-13 16:21:54 +01:00
|
|
|
services.secrets = {
|
|
|
|
enable = true;
|
2023-09-14 19:44:27 +01:00
|
|
|
|
2023-09-18 03:56:58 +01:00
|
|
|
vaultLogin = {
|
|
|
|
enable = true;
|
|
|
|
loginUsername = "raspberry";
|
|
|
|
};
|
|
|
|
|
2023-09-20 18:44:24 +01:00
|
|
|
# some are also added from wireguard internal config
|
2023-09-14 19:44:27 +01:00
|
|
|
requiredVaultPaths = [
|
|
|
|
"private-public-keys/data/cryptsetup/raspberry-ext-drive" # used dynamically
|
2023-09-20 18:44:24 +01:00
|
|
|
|
2023-09-16 16:06:16 +01:00
|
|
|
"api-keys/data/hetzner/storagebox" # also used dynamically
|
2023-09-14 19:44:27 +01:00
|
|
|
];
|
|
|
|
|
2023-09-13 16:21:54 +01:00
|
|
|
secrets = {
|
2023-09-18 03:56:58 +01:00
|
|
|
vault_password = {
|
2023-09-13 19:26:50 +01:00
|
|
|
manual = true;
|
|
|
|
};
|
2023-09-13 16:21:54 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|