Skip to content

Commit

Permalink
Add nix store repair and nixos generations history aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Sep 8, 2024
1 parent 0897ff2 commit d9229cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions home/users/christian/shell/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
# Enable aliases with `sudo`
sudo = "sudo ";

# Nix
nix-store-repair = "nix-store --verify --check-contents --repair";
nixos-generations = "nix profile history --profile /nix/var/nix/profiles/system";

# System utilities
df = "df -Tha --total";
duh = "du -ach | sort -h";
Expand Down

0 comments on commit d9229cb

Please sign in to comment.