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

19 lines
408 B
Nix
Raw Normal View History

{ ... }:
{
sane.programs.spotify = {
sandbox.method = "firejail";
sandbox.extraFirejailConfig = ''
keep-dev-shm
'';
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"
];
};
}