From 4e1aa667da021ee06abfcc938eeba408f663e46e Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Tue, 11 Mar 2025 07:44:18 +0000
Subject: [PATCH] Add `clean` function

---
 run | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/run b/run
index ec1e625..a3fdd28 100755
--- a/run
+++ b/run
@@ -12,6 +12,11 @@ function check {
   nix flake check
 }
 
+function clean {
+  nix store gc --verbose
+  nix store optimise --verbose
+}
+
 function collect-garbage {
   nix-collect-garbage -d
   sudo nix-collect-garbage -d