moby: override browser-cache persistence more cleanly

This commit is contained in:
colin 2023-01-06 13:28:18 +00:00
parent e446bfba58
commit 493d317bb1
2 changed files with 3 additions and 6 deletions

View File

@ -99,8 +99,7 @@ in
# TODO: move this to ~/private!
".local/share/keyrings"
];
# TODO: fix this ugly solution that allows moby to have firefox cache not erased every boot.
sane.persist.home.cryptClearOnBoot = lib.mkIf (config.networking.hostName != "moby") [
sane.persist.home.cryptClearOnBoot = [
# cache is probably too big to fit on the tmpfs
# ".cache"
config.sane.web-browser.cacheDir

View File

@ -24,10 +24,8 @@
};
# usability compromises
sane.persist.home.private = [
config.sane.web-browser.dotDir
config.sane.web-browser.cacheDir
];
sane.persist.home.byPath."${config.sane.web-browser.dotDir}".store = lib.mkForce "private";
sane.persist.home.byPath."${config.sane.web-browser.cacheDir}".store = lib.mkForce "private";
sane.persist.home.plaintext = [
".config/pulse" # persist pulseaudio volume
];