feat(vps): add impermanence

This commit is contained in:
tux
2024-11-13 18:24:11 +05:30
parent 7ee7503247
commit c7868e8b5f
3 changed files with 117 additions and 137 deletions

View File

@ -1,7 +1,15 @@
{...}: {
imports = [
../common/home.nix
];
{username, ...}: {
home.persistence."/persist/home/${username}" = {
directories = [
"Projects"
".ssh"
];
files = [
".zsh_history"
".zcompdump"
];
allowOther = true;
};
home.stateVersion = "24.11";
}