mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-09 16:33:57 -05:00
feat: clean-bootloader alias
fix: gc-check print only first column
This commit is contained in:
parent
037d12214d
commit
bdfa33ce68
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,8 @@
|
|||
pastebin = "curl -F 'clbin=<-' https://clbin.com";
|
||||
termbin = "nc termbin.com 9999";
|
||||
#nix stuff
|
||||
gc-check = ''nix-store --gc --print-roots | egrep -v "^(/nix/var|/run/w+-system|{memory|/proc)"'';
|
||||
gc-check = "nix-store --gc --print-roots | awk '{print $1}' | rg -v '^/(run/.*-system|proc|nix/var)'";
|
||||
clean-bootloader = "/run/current-system/bin/switch-to-configuration boot";
|
||||
#vim stuff
|
||||
vi = "nvim";
|
||||
vim = "nvim";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue