summary refs log tree commit diff
path: root/clean-old-generations.sh
blob: 8b42df6c6dcac3d1c4c783a654c090d5f381e83e (plain) (blame)
1
2
3
4
5
6
#!/usr/bin/env sh

nix-collect-garbage -d
/nix/var/nix/profiles/system/bin/switch-to-configuration boot
nix-collect-garbage -d
/nix/var/nix/profiles/system/bin/switch-to-configuration boot