fix cache settings for neovim
This commit is contained in:
parent
bd419d0a46
commit
392e6ae7ec
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
@ -53,9 +54,9 @@
|
||||||
withPython3 = true;
|
withPython3 = true;
|
||||||
};
|
};
|
||||||
systemd.user.tmpfiles.rules = [
|
systemd.user.tmpfiles.rules = [
|
||||||
"d %h/.cache/nvim/undo-files 0700 - - mM:1w -"
|
"d /persistent${config.xdg.cacheHome}/nvim/undo-files 0700 - - mM:1w -"
|
||||||
"d %h/.cache/nvim/swap-files 0700 - - mM:1w -"
|
"d /persistent${config.xdg.cacheHome}/nvim/swap-files 0700 - - mM:1w -"
|
||||||
"d %h/.cache/nvim/backup-files 0700 - - mM:1w -"
|
"d /persistent${config.xdg.cacheHome}/nvim/backup-files 0700 - - mM:1w -"
|
||||||
];
|
];
|
||||||
xdg.configFile.nvim = {
|
xdg.configFile.nvim = {
|
||||||
recursive = true;
|
recursive = true;
|
||||||
|
|
Loading…
Reference in a new issue