You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
535 B

5 months ago
  1. from time to time run the following commands to remove stuff from old generations
  2. ```
  3. # list old generations
  4. sudo nix-env --list-generations --profile /nix/var/nix/profiles/system
  5. # remove old generations
  6. sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations 9 10 11 12 13 X...
  7. # to remove old programs
  8. nix-collect-garbage --delete-old
  9. ```
  10. 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`.