2024-02-23 06:20:21 +00:00
|
|
|
{ config, ... }:
|
2024-02-23 06:16:30 +00:00
|
|
|
{
|
|
|
|
sane.user.persist.byStore.plaintext = [
|
|
|
|
"archive"
|
|
|
|
"dev"
|
|
|
|
# TODO: records should be private
|
|
|
|
"records"
|
|
|
|
"ref"
|
|
|
|
"tmp"
|
|
|
|
"use"
|
2024-02-27 20:48:38 +00:00
|
|
|
"Books/local"
|
2024-02-23 06:16:30 +00:00
|
|
|
"Music"
|
2024-02-27 20:46:25 +00:00
|
|
|
"Pictures/albums"
|
|
|
|
"Pictures/cat"
|
|
|
|
"Pictures/from"
|
|
|
|
"Pictures/Screenshots" #< XXX: something is case-sensitive about this?
|
|
|
|
"Pictures/Photos"
|
2024-02-27 18:48:59 +00:00
|
|
|
"Videos/local"
|
2024-02-23 06:16:30 +00:00
|
|
|
|
|
|
|
# these are persisted simply to save on RAM.
|
|
|
|
# ~/.cache/nix can become several GB.
|
|
|
|
# mesa_shader_cache is < 10 MB.
|
|
|
|
# TODO: integrate with sane.programs.sandbox?
|
|
|
|
".cache/mesa_shader_cache"
|
|
|
|
".cache/nix"
|
|
|
|
];
|
|
|
|
sane.user.persist.byStore.private = [
|
|
|
|
"knowledge"
|
|
|
|
];
|
|
|
|
|
|
|
|
# convenience
|
2024-02-23 06:20:21 +00:00
|
|
|
sane.user.fs.".persist/private".symlink.target = config.sane.persist.stores.private.origin;
|
|
|
|
sane.user.fs.".persist/plaintext".symlink.target = config.sane.persist.stores.plaintext.origin;
|
|
|
|
sane.user.fs.".persist/ephemeral".symlink.target = config.sane.persist.stores.cryptClearOnBoot.origin;
|
|
|
|
|
2024-02-23 06:16:30 +00:00
|
|
|
sane.user.fs."nixos".symlink.target = "dev/nixos";
|
2024-02-23 06:20:21 +00:00
|
|
|
|
2024-02-23 06:16:30 +00:00
|
|
|
sane.user.fs."Books/servo".symlink.target = "/mnt/servo/media/Books";
|
|
|
|
sane.user.fs."Videos/servo".symlink.target = "/mnt/servo/media/Videos";
|
|
|
|
# sane.user.fs."Music/servo".symlink.target = "/mnt/servo/media/Music";
|
|
|
|
sane.user.fs."Pictures/servo-macros".symlink.target = "/mnt/servo/media/Pictures/macros";
|
|
|
|
}
|