feat(emacs): Persist data and cache dirs
This will now persist the project list.
This commit is contained in:
@@ -61,9 +61,12 @@ let
|
|||||||
emacsclient --alternate-editor=${emacsWrapper}/bin/emacs "$@"
|
emacsclient --alternate-editor=${emacsWrapper}/bin/emacs "$@"
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
sydnix.impermanence.cache.directories = [
|
sydnix.impermanence.cache.directories =
|
||||||
# Impermanence expects the path to be relative to ~.
|
# Impermanence expects the path to be relative to ~.
|
||||||
(lib.removePrefix config.home.homeDirectory straightBaseDir)
|
map (lib.removePrefix config.home.homeDirectory) [
|
||||||
|
straightBaseDir
|
||||||
|
emacsCacheDir
|
||||||
|
emacsDataDir
|
||||||
];
|
];
|
||||||
|
|
||||||
# Set emacsclient as the default editor for the time being.
|
# Set emacsclient as the default editor for the time being.
|
||||||
|
|||||||
Reference in New Issue
Block a user