nix
Table of Contents
1. Removing garbage
# NOTE: use of sudo is important sudo nix-collect-garbage -d # bacame handy to remove cuda11.8 when i downgraded sudo nix-store --gc # figuring out sources of some package nix-tree # this only shows some sudo nix-store --query --roots <path_to_some_directory_in_nix_store> # this shows more
2. Upgrade
sudo nix-channel –add https://channels.nixos.org/nixos-24.05 nixos && sudo nixos-rebuild boot –show-trace –upgrade-all
3. Links
- nix-1p/README.md at master · tazjin/nix-1p · GitHub : Nix one pager