From 9ba2128a6e2e5fb19cd4f9ef5709a9e51f7794fa Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Fri, 14 Feb 2025 14:52:10 -0500 Subject: [PATCH] fish function to clean nix --- common/fish/init.fish | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/fish/init.fish b/common/fish/init.fish index e554c09..5688b92 100644 --- a/common/fish/init.fish +++ b/common/fish/init.fish @@ -191,6 +191,13 @@ function s ssh (whoami)@$argv end +function garbage + sudo nix-collect-garbage --delete-old + nix-collect-garbage --delete-old + sudo nix-store --gc + nix-store --gc +end + set fish_greeting # Disable greeting fastfetch