2022-12-04 16:10:00 +00:00
|
|
|
{...}: {
|
2022-11-17 22:25:41 +00:00
|
|
|
services.secrets = {
|
|
|
|
enable = true;
|
|
|
|
secrets = {
|
2022-12-04 13:45:43 +00:00
|
|
|
usb_encryption_passphrase = {manual = true;};
|
2022-11-17 22:25:41 +00:00
|
|
|
music_stream_password = {
|
|
|
|
user = "chaos";
|
|
|
|
group = "users";
|
|
|
|
fetchScript = ''
|
|
|
|
simple_get "/api-keys/music-stream" .password > $secretFile
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2022-11-11 20:53:17 +00:00
|
|
|
}
|