persist: lift sane.persist.dirs.{home,sys} up one level

This commit is contained in:
2023-01-06 11:29:13 +00:00
parent 426e0c3ae2
commit fe816e9110
27 changed files with 39 additions and 48 deletions

View File

@@ -3,7 +3,7 @@
lib.mkIf config.sane.home-manager.enable
{
# private because there could be sensitive things in the swap
sane.persist.dirs.home.private = [ ".cache/vim-swap" ];
sane.persist.home.private = [ ".cache/vim-swap" ];
home-manager.users.colin.programs.neovim = {
# neovim: https://github.com/neovim/neovim

View File

@@ -2,7 +2,7 @@
lib.mkIf config.sane.home-manager.enable
{
sane.persist.dirs.home.plaintext = [
sane.persist.home.plaintext = [
# we don't need to full zsh dir -- just the history file --
# but zsh will sometimes backup the history file and we get fewer errors if we do proper mounts instead of symlinks.
# TODO: should be private?