hosts/common: migrate most ~/ directories to the "private" persistence store

This commit is contained in:
2024-07-19 20:16:04 +00:00
parent 13b04d50b0
commit 4abd782b62

View File

@@ -1,20 +1,13 @@
{ config, lib, ... }: { config, lib, ... }:
{ {
sane.user.persist.byStore.plaintext = [ sane.user.persist.byStore.plaintext = [
"archive" # TODO: some of ~/dev should be private too, but maybe not all 800+ GB of it
# perhaps i ought to rethink how it's organized
"dev" "dev"
# TODO: records should be private
"records"
"ref" "ref"
"tmp"
"use" "use"
"Books/local" "Books/local"
"Music" "Music"
"Pictures/albums"
"Pictures/cat"
"Pictures/from"
"Pictures/Screenshots" #< XXX: something is case-sensitive about this?
"Pictures/Photos"
# these are persisted simply to save on RAM. # these are persisted simply to save on RAM.
# ~/.cache/nix can become several GB. # ~/.cache/nix can become several GB.
@@ -24,6 +17,15 @@
".cache/nix" ".cache/nix"
]; ];
sane.user.persist.byStore.private = [ sane.user.persist.byStore.private = [
"archive"
"Pictures/albums"
"Pictures/cat"
"Pictures/from"
"Pictures/Screenshots" #< XXX: something is case-sensitive about this?
"Pictures/Photos"
"records"
"tmp"
"knowledge" "knowledge"
"Videos/local" "Videos/local"
]; ];