nixfiles/hosts/lappy-t495/secrets.nix

19 lines
349 B
Nix
Raw Permalink Normal View History

2023-07-21 11:48:07 +01:00
{...}: {
services.secrets = {
enable = true;
secrets = {
usb_encryption_passphrase = {
manual = true;
};
2023-07-21 11:48:07 +01:00
music_stream_password = {
user = "chaos";
2023-07-21 11:48:07 +01:00
group = "users";
fetchScript = ''
simple_get "/api-keys/music-stream" .password > "$secretFile"
2023-07-21 11:48:07 +01:00
'';
};
};
};
}