configuration.nix/home/persistence.nix

37 lines
670 B
Nix
Raw Normal View History

2023-03-15 22:11:59 +05:30
{ ... }: {
home.persistence."/persist/home" = {
allowOther = true;
directories = [
".cache/mesa_shader_cache"
".cache/mozilla"
".cache/nix"
".config/1Password"
".config/dconf"
".config/discord"
".config/lazygit"
".config/spotify"
".config/spotify-tui"
".gnupg"
".local/share/atuin"
".local/share/keyrings"
".local/share/nix"
".local/share/zsh"
".mozilla"
".nixos-config"
".ssh"
"Documents"
"Downloads"
"Music"
"Others"
"Pictures"
"Projects"
"Videos"
];
files = [
".config/gh/hosts.yml"
];
};
}