configuration.nix/home/persistence.nix
2024-02-24 19:58:48 +05:30

43 lines
982 B
Nix

_: {
home.persistence."/persist/home" = {
allowOther = true;
directories = [
".cache/aria2"
".cache/nix-index"
".cache/ytfzf"
".config/1Password"
".config/dconf"
".config/doctl"
".config/lazygit"
".config/gh"
".config/obsidian"
".fly"
".gnupg"
".local/share/direnv"
".local/share/flatpak"
".local/share/keyrings"
".local/share/nix"
".local/share/zoxide"
".local/share/zsh"
".local/state"
".mozilla"
".ssh"
".var"
"Documents"
"Downloads"
"Music"
"Others"
"Pictures"
"Videos"
{ directory = ".config/nvim"; method = "symlink"; }
{ directory = ".config/nixos"; method = "symlink"; }
{ directory = ".local/share/nvim"; method = "symlink"; }
{ directory = "Projects"; method = "symlink"; }
];
files = [
".config/wallpaper_config.json"
".docker/config.json"
];
};
}