nits: fix comments/improve docs
This commit is contained in:
parent
d419e10f10
commit
8ad4d8a4f9
|
@ -173,7 +173,7 @@ in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sane.packages.extraGuiPkgs = [ package ];
|
sane.packages.extraGuiPkgs = [ package ];
|
||||||
# flood the cache to disk to avoid it taking up too much tmp
|
# flush the cache to disk to avoid it taking up too much tmp
|
||||||
sane.persist.home.byPath."${cfg.browser.cacheDir}" = lib.mkIf (cfg.persistCache != null) {
|
sane.persist.home.byPath."${cfg.browser.cacheDir}" = lib.mkIf (cfg.persistCache != null) {
|
||||||
store = cfg.persistCache;
|
store = cfg.persistCache;
|
||||||
};
|
};
|
||||||
|
|
|
@ -160,7 +160,9 @@ let
|
||||||
store-names;
|
store-names;
|
||||||
in {
|
in {
|
||||||
byPath = lib.mkMerge (concatLists [
|
byPath = lib.mkMerge (concatLists [
|
||||||
|
# convert the list-style per-store entries into attrsOf entries
|
||||||
(applyToAllStores (store: dirToAttrs))
|
(applyToAllStores (store: dirToAttrs))
|
||||||
|
# add the `store` attr to everything we ingested
|
||||||
(applyToAllStores annotateWithStore)
|
(applyToAllStores annotateWithStore)
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user