arnaucube 6767688ef0 | 1 month ago | |
---|---|---|
.. | ||
.gitignore | 1 year ago | |
README.md | 1 month ago | |
chromeos-extra-hardware-configuration.nix | 1 year ago | |
common-configuration.nix | 1 month ago | |
surface-configuration.nix | 1 month ago | |
surface-extra-hardware-configuration.nix | 5 months ago | |
thinkpad-configuration.nix | 3 months ago |
from time to time run the following commands to remove stuff from old generations
# list old generations
sudo nix-env --list-generations --profile /nix/var/nix/profiles/system
# remove old generations
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations 9 10 11 12 13 X...
# remove old generations except the last 5 generations
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations +5
# to remove old programs
nix-collect-garbage --delete-old
When stting up the config files in a system, remember to rename either the file thinkpad-configuration.nix
or surface-configuration.nix
files into configuration.nix
.