configuration.nix/home/persistence.nix

70 lines
1.3 KiB
Nix

_: {
home.persistence."/persist/home" = {
allowOther = true;
directories = [
".cache/aria2"
".cache/mozilla"
".cache/nix-index"
".config/1Password"
".config/chromium"
".config/dconf"
".config/discord"
".config/lazygit"
".config/obsidian"
".config/spotify-tui"
".gnupg"
".local/share/keyrings"
".local/share/nix"
".local/share/zoxide"
".local/share/zsh"
".local/state"
".mozilla"
".nixos-config"
".ssh"
{
directory = "Documents";
method = "symlink";
}
{
directory = "Downloads";
method = "symlink";
}
{
directory = "Games";
method = "symlink";
}
{
directory = "Music";
method = "symlink";
}
{
directory = "Others";
method = "symlink";
}
{
directory = "Pictures";
method = "symlink";
}
{
directory = "Projects";
method = "symlink";
}
{
directory = "Public";
method = "symlink";
}
{
directory = "Templates";
method = "symlink";
}
{
directory = "Videos";
method = "symlink";
}
];
files = [
".config/gh/hosts.yml"
];
};
}