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!
|
# TODO: move this to ~/private!
|
||||||
".local/share/keyrings"
|
".local/share/keyrings"
|
||||||
];
|
];
|
||||||
# TODO: fix this ugly solution that allows moby to have firefox cache not erased every boot.
|
sane.persist.home.cryptClearOnBoot = [
|
||||||
sane.persist.home.cryptClearOnBoot = lib.mkIf (config.networking.hostName != "moby") [
|
|
||||||
# cache is probably too big to fit on the tmpfs
|
# cache is probably too big to fit on the tmpfs
|
||||||
# ".cache"
|
# ".cache"
|
||||||
config.sane.web-browser.cacheDir
|
config.sane.web-browser.cacheDir
|
||||||
|
|
|
@ -24,10 +24,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# usability compromises
|
# usability compromises
|
||||||
sane.persist.home.private = [
|
sane.persist.home.byPath."${config.sane.web-browser.dotDir}".store = lib.mkForce "private";
|
||||||
config.sane.web-browser.dotDir
|
sane.persist.home.byPath."${config.sane.web-browser.cacheDir}".store = lib.mkForce "private";
|
||||||
config.sane.web-browser.cacheDir
|
|
||||||
];
|
|
||||||
sane.persist.home.plaintext = [
|
sane.persist.home.plaintext = [
|
||||||
".config/pulse" # persist pulseaudio volume
|
".config/pulse" # persist pulseaudio volume
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user