2023-11-10 19:28:16 +00:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
sane.programs.spot = {
|
2024-05-13 19:59:03 +00:00
|
|
|
buildCost = 1;
|
|
|
|
|
2024-01-24 05:47:04 +00:00
|
|
|
sandbox.method = "bwrap";
|
2024-02-08 21:51:32 +00:00
|
|
|
sandbox.net = "clearnet";
|
2024-02-13 11:14:38 +00:00
|
|
|
sandbox.whitelistAudio = true;
|
2024-02-13 11:58:12 +00:00
|
|
|
sandbox.whitelistDbus = [ "user" ]; # mpris
|
2024-02-14 01:49:49 +00:00
|
|
|
sandbox.whitelistWayland = true;
|
2024-02-13 11:58:12 +00:00
|
|
|
|
2023-11-10 19:28:16 +00:00
|
|
|
secrets.".cache/spot/librespot/credentials/credentials.json" = ../../../secrets/common/spot_credentials.json.bin;
|
|
|
|
persist.byStore.plaintext = [
|
|
|
|
".cache/spot/img" # album art
|
|
|
|
".cache/spot/librespot/audio" # audio/track cache
|
|
|
|
".cache/spot/net" # album metadata
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|