moby: override browser-cache persistence more cleanly
This commit is contained in:
parent
e446bfba58
commit
493d317bb1
|
@ -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
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue
Block a user