From 9c88a6ab0b922c070c423404c9c3c5d9bdcca81e Mon Sep 17 00:00:00 2001 From: xnm Date: Sun, 12 May 2024 21:57:03 +0300 Subject: [PATCH] updated info about useful fish commands in README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 60a599f..96d0295 100644 --- a/README.md +++ b/README.md @@ -221,7 +221,9 @@ NixOS-specific commands: - `nswitchu`: rebuild and update your system using the current flake - `nau`: add the unstable channel to the package manager - `nsgc`: optimize the nix store and remove unreferenced and obsolete store paths (equivalent to `sudo nix-store --gc`) -- `ngc`: delete old generations of user profiles (equivalent to `sudo nix-collect-garbage -d`) +- `ngc`: delete all old generations of user profiles (equivalent to `sudo nix-collect-garbage -d`) +- `ngc7`: delete generations of user profiles older than 7 days (equivalent to `sudo nix-collect-garbage --delete-older-than 7d`) +- `ngc14`: delete generations of user profiles older than 14 days (equivalent to `sudo nix-collect-garbage --delete-older-than 14d`) - `nixos`: navigate to the `/etc/nixos` directory - `store`: navigate to the `/nix/store` directory