From 2a2113e709c5978dd6b86c9a88fb0af5106d1355 Mon Sep 17 00:00:00 2001 From: "Rory&::Emma" Date: Sun, 25 Feb 2024 08:49:41 +0000 Subject: Update from server --- clean-old-generations.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 clean-old-generations.sh (limited to 'clean-old-generations.sh') diff --git a/clean-old-generations.sh b/clean-old-generations.sh new file mode 100755 index 0000000..8b42df6 --- /dev/null +++ b/clean-old-generations.sh @@ -0,0 +1,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 -- cgit 1.4.1