Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Jacek Γαλοwιcζ
@jgalowicz@functional.cafe  ·  activity timestamp 4 days ago

Ever built a "minimal" NixOS image and been shocked to find it's over 1.5GB? 🤯

Bloated images are a headache, but it doesn't have to be that way. The second article in our NixOS appliance image series is a deep dive into shrinking a NixOS appliance, taking it from 1.5GB all the way down to relatively lean ~360MB.

The new post shares practical, step-by-step "tricks" for hunting down and eliminating unnecessary dependencies. You'll learn how to use tools like `nix-store --query` and `nix why-depends` to find out why things like Perl, Python, or even speech synthesizers are ending up in your build.

If you're looking to optimize your NixOS systems, this is a must-read.
Check out the full guide here: https://nixcademy.com/posts/minimizing-nixos-images/

#NixOS #Linux #DevOps #ImageOptimization #EmbeddedSystems #Systemd #Performance

Minimizing NixOS images

Part 2 of our NixOS appliance image series - Learn how to use native Nix tools to shrink the size of your NixOS system images with quick iteration cycles!
  • Copy link
  • Flag this post
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login