fix cache settings for neovim

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-13 17:02:27 +01:00
parent bd419d0a46
commit 392e6ae7ec

View file

@ -1,5 +1,6 @@
{
pkgs,
config,
...
}:
{
@ -53,9 +54,9 @@
withPython3 = true;
};
systemd.user.tmpfiles.rules = [
"d %h/.cache/nvim/undo-files 0700 - - mM:1w -"
"d %h/.cache/nvim/swap-files 0700 - - mM:1w -"
"d %h/.cache/nvim/backup-files 0700 - - mM:1w -"
"d /persistent${config.xdg.cacheHome}/nvim/undo-files 0700 - - mM:1w -"
"d /persistent${config.xdg.cacheHome}/nvim/swap-files 0700 - - mM:1w -"
"d /persistent${config.xdg.cacheHome}/nvim/backup-files 0700 - - mM:1w -"
];
xdg.configFile.nvim = {
recursive = true;