2023-10-16 19:18:34 +00:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
sane.programs.spotify = {
|
2024-01-23 12:12:56 +00:00
|
|
|
sandbox.method = "bwrap";
|
2024-01-29 13:45:57 +00:00
|
|
|
sandbox.wrapperType = "inplace"; # nontraditional package structure, where binaries live in /share/spotify
|
2024-02-08 21:51:32 +00:00
|
|
|
sandbox.net = "clearnet";
|
2024-02-13 11:14:38 +00:00
|
|
|
sandbox.whitelistAudio = true;
|
2024-02-14 01:49:49 +00:00
|
|
|
sandbox.whitelistDbus = [ "user" ]; # mpris
|
|
|
|
sandbox.whitelistWayland = true;
|
2024-02-13 11:15:30 +00:00
|
|
|
|
2023-11-08 15:32:50 +00:00
|
|
|
persist.byStore.plaintext = [
|
2023-10-16 19:18:34 +00:00
|
|
|
# probably just songs and such (haven't checked)
|
|
|
|
".cache/spotify"
|
|
|
|
];
|
2023-11-08 15:32:50 +00:00
|
|
|
persist.byStore.private = [
|
2023-10-16 19:18:34 +00:00
|
|
|
# creds, widevine .so download. TODO: could easily manage these statically.
|
|
|
|
".config/spotify"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|