dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Common uses too much space on minimal server installs

Open fatso83 opened this issue 9 months ago • 2 comments

The common base is optimised for developer focused machines. This quickly eats up 10GB of space on a minimal jump host.

We should try and move stuff out of common that is non-essential for non-developer boxes:

  • more exotic Vim plugins (stick to a minimal set) like LSPs, CoC, ...
  • ASDF (Ruby, Python, Node, ...
  • SDKMAN

fatso83 avatar Apr 30 '25 10:04 fatso83

Currently:

rm -rf .npm/ .bun/ Android/  .asdf/ .sdkman .config/coc  ~/.vim/plugged/coc.nvim/

fatso83 avatar Apr 30 '25 10:04 fatso83

Should have a dedicated files for vim, bash, ... that only exists on developer boxes. Maybe just check for a file ~/.is-dev-box during per-host customisations? It's nice with a similar setup on servers, but a server does not need Jump to Definition, etc. Nor should it need NPM/Node, ASDF, SDKMAN, etc. Wireguard on the other hand should be standard.

Rename the per-host-customisations/shared directory to shared-dev to make it more explicit?

fatso83 avatar May 05 '25 08:05 fatso83