diff --git a/modules/environment/user-impermanence.nix b/modules/environment/user-impermanence.nix index 8717c3f9..3458c675 100644 --- a/modules/environment/user-impermanence.nix +++ b/modules/environment/user-impermanence.nix @@ -32,7 +32,7 @@ with lib; { if [[ -e ${cfg.home} ]]; then timestamp=$(date --date="@$(stat -c %X ${cfg.home})" "+%Y-%m-%d_%H:%M:%S") mkdir -p /persistent/old-homedirs/${name} - mv ${cfg.home} /home/old-homedirs/${name}/$timestamp + mv ${cfg.home} /persistent/old-homedirs/${name}/$timestamp fi delete_subvolume_recursively() {