yarn: fix impermiance home directory

This commit is contained in:
2026-01-19 23:34:08 -05:00
parent b52af2bea8
commit 681cbcb117

View File

@@ -21,12 +21,15 @@
"/etc/ssh/ssh_host_rsa_key.pub" "/etc/ssh/ssh_host_rsa_key.pub"
"/etc/machine-id" "/etc/machine-id"
]; ];
users.${username} = {
directories = [
"."
];
}; };
# Bind mount entire home directory from persistent storage
# (impermanence doesn't support "." so we do this directly)
fileSystems."/home/${username}" = {
device = "/persistent/home/${username}";
fsType = "none";
options = [ "bind" ];
neededForBoot = true;
}; };
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [