configuration.nix/home/persistence.nix
2024-03-08 22:35:45 +05:30

41 lines
1.6 KiB
Nix

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