Files
nix-files/hosts/common/programs/spotify.nix

20 lines
463 B
Nix

{ ... }:
{
sane.programs.spotify = {
sandbox.net = "clearnet";
sandbox.whitelistAudio = true;
sandbox.whitelistDbus = [ "user" ]; # mpris
sandbox.whitelistWayland = true;
persist.byStore.plaintext = [
# probably just songs and such (haven't checked)
".cache/spotify"
];
persist.byStore.private = [
# creds, widevine .so download. TODO: could easily manage these statically.
".config/spotify"
];
};
}