diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-04-27 04:04:26 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-04-27 04:11:01 +0900 |
| commit | 27487e4bb410dc293faeac203e4055ee301b18ea (patch) | |
| tree | 75c86be1046df6f5d19177e15b4867dbe6cf0e68 /README | |
| parent | 80dc4c043549c21777d98bf7b76472c478bce3be (diff) | |
| download | dotfiles-27487e4bb410dc293faeac203e4055ee301b18ea.tar.gz dotfiles-27487e4bb410dc293faeac203e4055ee301b18ea.tar.zst dotfiles-27487e4bb410dc293faeac203e4055ee301b18ea.zip | |
just: add justfile for dotfiles
Diffstat (limited to 'README')
| -rw-r--r-- | README | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -58,13 +58,12 @@ $ tic -xe tmux-256color /var/tmp/tmux-256color.info # Update -1. `nix flake update` -2. `home-manager switch --flake ".#<host>"` +``` +$ just update +``` # Garbage Collection -// 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` +``` +$ just gc +``` |
