···5}: let
6 persistRoot = "/nix/persist"; # Anything important we want backed up
7 secureRoot = "${persistRoot}/secure"; # Files and directories we want only root to access
8- cacheRoot = "/nix/cache"; # Anything not as important that we can stand losing
9 preWith = pre: paths: builtins.map (p: "${pre}/${p}") paths;
10 preShare = preWith ".local/share";
11 preConf = preWith ".config";
···5}: let
6 persistRoot = "/nix/persist"; # Anything important we want backed up
7 secureRoot = "${persistRoot}/secure"; # Files and directories we want only root to access
8+ cacheRoot = "/nix/perist-cache"; # Anything not as important that we can stand losing
9 preWith = pre: paths: builtins.map (p: "${pre}/${p}") paths;
10 preShare = preWith ".local/share";
11 preConf = preWith ".config";