dont delete windows boot entry
This commit is contained in:
parent
db51a13391
commit
54d8f2744f
2 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
I used the existing windows 100MB boot partition and it fills up constantly. Have to purge old stuff a lot this is how:
|
||||
|
||||
- `find '/boot/loader/entries' -type f | head -n -4 | xargs -I {} rm {}; nix-collect-garbage -d; nixos-rebuild boot; echo; df`
|
||||
- `find '/boot/loader/entries' -type f ! -name 'windows.conf' | head -n -4 | xargs -I {} rm {}; nix-collect-garbage -d; nixos-rebuild boot; echo; df`
|
||||
|
||||
# Settings references:
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ in
|
|||
nn = "nvim --headless '+SessionDelete' +qa > /dev/null 2>&1 && nvim";
|
||||
bat = "bat --theme Coldark-Dark";
|
||||
cat = "bat --pager=never -p";
|
||||
nix-boot-clean = "find '/boot/loader/entries' -type f | head -n -4 | xargs -I {} rm {}; nix-collect-garbage -d; nixos-rebuild boot; echo; df";
|
||||
nix-boot-clean = "find '/boot/loader/entries' -type f ! -name 'windows.conf' | head -n -4 | xargs -I {} rm {}; nix-collect-garbage -d; nixos-rebuild boot; echo; df";
|
||||
|
||||
# general unix
|
||||
date_compact = "date +'%Y%m%d'";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue