diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-15 04:44:30 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-15 04:44:30 +0530 |
| commit | 35ef3a48ade2329d4c64e74bf7a9a8cc18333fe3 (patch) | |
| tree | fc5fd02c46bac3b30b4e6ac7e7314afb9bb66cac /modules/system | |
| parent | a544d3634010784886e157f2f904b1d468713699 (diff) | |
| download | home-manager-config-35ef3a48ade2329d4c64e74bf7a9a8cc18333fe3.tar.gz home-manager-config-35ef3a48ade2329d4c64e74bf7a9a8cc18333fe3.zip | |
chore: added + fixed all description comments in all scripts
Diffstat (limited to 'modules/system')
| -rw-r--r-- | modules/system/deep-clean/deep-clean.sh | 3 | ||||
| -rw-r--r-- | modules/system/nix-update/nix-update.sh | 1 | ||||
| -rw-r--r-- | modules/system/nix-update/nix-update.zsh | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/modules/system/deep-clean/deep-clean.sh b/modules/system/deep-clean/deep-clean.sh index d698bfd..f22a620 100644 --- a/modules/system/deep-clean/deep-clean.sh +++ b/modules/system/deep-clean/deep-clean.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Remove old NixOS, home-manager and user profile generations, then run +# a full garbage collection and store optimisation. + set -euo pipefail info() { printf '\033[1;34m==>\033[0m %s\n' "$*"; } diff --git a/modules/system/nix-update/nix-update.sh b/modules/system/nix-update/nix-update.sh index bacfc20..e65a33c 100644 --- a/modules/system/nix-update/nix-update.sh +++ b/modules/system/nix-update/nix-update.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Update and switch the home-manager and/or NixOS configurations. set -euo pipefail diff --git a/modules/system/nix-update/nix-update.zsh b/modules/system/nix-update/nix-update.zsh index a9500e6..a0d23e3 100644 --- a/modules/system/nix-update/nix-update.zsh +++ b/modules/system/nix-update/nix-update.zsh @@ -1,4 +1,5 @@ #compdef nix-update +# Zsh completion for the nix-update command. _arguments \ '1: :->target' \ |
