feat(emacs): Persist data and cache dirs
This will now persist the project list.
This commit is contained in:
@@ -61,10 +61,13 @@ let
|
||||
emacsclient --alternate-editor=${emacsWrapper}/bin/emacs "$@"
|
||||
'';
|
||||
in {
|
||||
sydnix.impermanence.cache.directories = [
|
||||
sydnix.impermanence.cache.directories =
|
||||
# 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.
|
||||
home.sessionVariables =
|
||||
|
||||
Reference in New Issue
Block a user