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, ... }:
{
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"
# TODO: records should be private
"records"
"ref"
"tmp"
"use"
"Books/local"
"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.
# ~/.cache/nix can become several GB.
@@ -24,6 +17,15 @@
".cache/nix"
];
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"
"Videos/local"
];