nix-files/hosts/common/programs/spotify.nix
Colin df861a3ef0 programs: firejail: inject custom firejail config through /etc/firejail
this improves rebuild times, and makes it easier for packages to inject their own free-form config
2024-01-22 11:12:18 +00:00

19 lines
408 B
Nix

{ ... }:
{
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"
];
};
}