configurations of hq services

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