configurations of hq services
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.

nix-maintenance.sh 179B

12345678910
  1. #!/usr/bin/env bash
  2. set -x
  3. set -e
  4. sudo nix-channel --update
  5. time nix-env -- -u \*
  6. time sudo nixos-rebuild switch
  7. time sudo nix-collect-garbage -d
  8. time sudo nix-store --optimise