···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";
12in {
···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: builtins.map (p: "${pre}/${p}");
10 preShare = preWith ".local/share";
11 preConf = preWith ".config";
12in {