~/Videos: don't persist ALL videos: just ~/Videos/local
otherwise, ~/Videos/servo is a symlink which the programs module doesn't know how to traverse (and hence, sandbox).
This commit is contained in:
parent
36f6c72183
commit
e37a7d85b3
|
@ -11,7 +11,7 @@
|
|||
"Books"
|
||||
"Music"
|
||||
"Pictures"
|
||||
"Videos"
|
||||
"Videos/local"
|
||||
|
||||
# these are persisted simply to save on RAM.
|
||||
# ~/.cache/nix can become several GB.
|
||||
|
|
|
@ -27,12 +27,13 @@ in {
|
|||
sandbox.whitelistDbus = [ "user" ]; # it won't launch without it, dunno exactly why.
|
||||
sandbox.whitelistWayland = true;
|
||||
sandbox.net = "clearnet";
|
||||
sandbox.extraHomePaths = [ "Videos/gPodder" ];
|
||||
|
||||
fs.".config/gpodderFeeds.opml".symlink.text = feeds.feedsToOpml wanted-feeds;
|
||||
|
||||
# XXX: we preserve the whole thing because if we only preserve gPodder/Downloads
|
||||
# then startup is SLOW during feed import, and we might end up with zombie eps in the dl dir.
|
||||
persist.byStore.plaintext = [ ".local/share/gPodder" ];
|
||||
persist.byStore.plaintext = [
|
||||
"Videos/gPodder"
|
||||
# if you don't persist its database, you get untracked (and hence non-gc'd) downloads, plus slooow startup.
|
||||
".local/share/gPodder"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
"Music"
|
||||
"Pictures"
|
||||
"Pictures/servo-macros"
|
||||
"Videos"
|
||||
"Videos/local"
|
||||
"Videos/servo"
|
||||
"knowledge"
|
||||
"tmp"
|
||||
|
|
Loading…
Reference in New Issue
Block a user