From dfa89dced4b0df8f525812d05bb523a61d47b200 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 28 Feb 2026 15:39:36 +0000 Subject: [PATCH] Fix typo --- hardware-configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware-configuration.nix b/hardware-configuration.nix index a2b99a2..d00d68b 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -22,7 +22,7 @@ mount /dev/disk/by-partlabel/disk-stationette-root /btrfs_tmp if [[ -e /btrfs_tmp/root ]]; then mkdir -p /btrfs_tmp/old_roots - timestamp=$(dat +%Y-%m-%d_%H-%M-%S) + timestamp=$(date +%Y-%m-%d_%H-%M-%S) mv /btrfs_tmp/root "/btrfs_tmp/old_roots/$timestamp" fi @@ -34,7 +34,7 @@ btrfs subvolume delete "$1" } - for i in $(find /btrfs_tmp/old_roots/ -maxdepth 1 -mtime +30); do + for i in $(find /btrfs_tmp/old_roots/ -maxdepth 1 -mtime +7); do delete_subvolume_recursively "$i" done