diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-01-26 11:39:05 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-01-26 11:39:05 +0900 |
| commit | 5ac1ff2135dd2e20c63ee7588d41e2fc3fcc3083 (patch) | |
| tree | 88727a5a0ef2d25b408efea26f5d8e2a2d3129db /README | |
| parent | f3ff56108c5291fec4b82482a967a27569e678ac (diff) | |
| download | dotfiles-5ac1ff2135dd2e20c63ee7588d41e2fc3fcc3083.tar.gz dotfiles-5ac1ff2135dd2e20c63ee7588d41e2fc3fcc3083.tar.zst dotfiles-5ac1ff2135dd2e20c63ee7588d41e2fc3fcc3083.zip | |
chore: update README
Diffstat (limited to 'README')
| -rw-r--r-- | README | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -63,6 +63,8 @@ $ tic -xe tmux-256color /var/tmp/tmux-256color.info # Garbage Collection -2. `home-manager expire-generations '-1 month'` -3. `nix profile wipe-history` -4. `nix store gc` +// 1. `home-manager remove-generations $({ home-manager generations | tail +4 && date -d '-1 month' '+%Y-%m-%d %H:%M : id DELETE ->'; } | sort -r | sed -n '/: id DELETE ->/,$p' | tail +2 | grep -o ': id [0-9]* ->' | awk '{ print $3; }')` + +1. `home-manager expire-generations '-1 month'` +2. `nix profile wipe-history` +3. `nix store gc` |
