frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: The Great GitHub Nix Disk Space Heist

https://wimpysworld.com/posts/nothing-but-nix-github-actions/
2•flexiondotorg•9h ago
Reclaim 130GB in GitHub Actions runners for Nix builds

I created this GitHub Action to solve a persistent problem: building complex NixOS configurations in GitHub CI fails with "no space left on device" errors. Standard GitHub runners have ~20GB of free space, but sophisticated NixOS workstation or server configurations can consume 10-15GB, leaving little headroom.

Nothing but Nix uses a two-stage approach:

1. It creates a large BTRFS volume from unused space on `/mnt` (giving ~65GB immediately)

2. It starts a background process that reclaims space by removing unnecessary pre-installed software, growing the volume to ~130GB

The technical implementation uses loop devices with sparse files and carefully tuned BTRFS mount options (no discard is critical to prevent misreported allocation sizes). The purge process is powered by rmz (from the Fast Unix Commands project), which is significantly faster than standard rm.

This solution has allowed me to build my entire fleet of NixOS configurations (servers, workstations, laptops, and VMs) in CI without paying for larger runners. All builds are cached for fast deployments.

Implementation details: <https://wimpysworld.com/posts/nothing-but-nix-github-actions...>

Try it out: <https://github.com/wimpysworld/nothing-but-nix>

Supplements – Near.blog

https://near.blog/supplements/
1•bilsbie•41s ago•0 comments

Phone scammers pretending to be 'from Amazon' trick woman out of $1M

https://www.seattletimes.com/nation-world/phone-scammers-pretending-to-be-from-amazon-trick-woman-out-of-1m/
1•rwc9•46s ago•0 comments

Nintendo's May 2025 Policy Updates

https://consumerrights.wiki/index.php?title=Nintendo%27s_May_2025_Policy_Updates
1•raybb•1m ago•0 comments

The Collapse of GPT

https://cacm.acm.org/news/the-collapse-of-gpt/
5•pseudolus•13m ago•0 comments

Pallene: A statically typed ahead-of-time compiled sister language to Lua, with

https://github.com/pallene-lang/pallene
3•todsacerdoti•14m ago•0 comments

The Connoisseur of Desire

https://www.nybooks.com/articles/2025/05/29/the-connoisseur-of-desire-the-annotated-great-gatsby/
4•samclemens•18m ago•0 comments

AI job alerts that match your skills

https://jobsphere.onboardai.net/
2•Gurnoorsb•20m ago•2 comments

They Were Identical 'Twinnies' Who Charmed Orwell, Camus and More

https://www.nytimes.com/2025/05/04/books/review/the-dazzling-paget-sisters-ariane-bankes.html
7•lermontov•22m ago•1 comments

AI Food Detection and Free Calorie Counter App by Recipe

https://whatthefood.io
1•OdehAhwal•24m ago•0 comments

Nord Stream 2 Enters Debt Restructuring Deal with Creditors

https://oilprice.com/Latest-Energy-News/World-News/Nord-Stream-2-Enters-Debt-Restructuring-Deal-with-Creditors.html
1•PaulHoule•27m ago•0 comments

Better air quality is the easiest way not to die

https://dynomight.net/air/
3•haltingproblem•28m ago•0 comments

Jane Street-Millennium Trade Secrets Fight Ends in Settlement (2024)

https://www.bnnbloomberg.ca/business/international/2024/12/05/jane-street-millennium-settle-india-options-trade-secrets-case/
1•walterbell•31m ago•0 comments

TalwarAI: A suite of autonomous security agents

https://test.pypi.org/project/talwarai-beta/
1•handfuloflight•38m ago•0 comments

Apple Says Fortnite for iOS Isn't Blocked Worldwide, Just the U.S.

https://www.macrumors.com/2025/05/16/apple-fortnite-ios-not-blocked-worldwide/
4•smileybarry•43m ago•1 comments

Typograph: Prompt to Font

https://typograph.studio/en
1•handfuloflight•46m ago•0 comments

Harvard bought a Magna Carta copy for $27. It turned out to be an original

https://www.usatoday.com/story/news/nation/2025/05/15/harvard-magna-carta-1300/83643266007/
4•rmason•52m ago•0 comments

Core War

https://en.wikipedia.org/wiki/Core_War
4•michalpleban•54m ago•0 comments

Reddit is down

2•tom1337•54m ago•2 comments

Yeast-Based LLM Research

1•daly•55m ago•0 comments

Berkshire Hathaway Inc Q4 2024 vs. Q1 2025 13F Holdings Comparison

https://13f.info/13f/000095012325005701-berkshire-hathaway-inc-q1-2025
1•kamaraju•55m ago•0 comments

How to Split Ranges in C++23 and C++26

https://www.cppstories.com/2025/ranges_split_chunk/
2•ibobev•1h ago•0 comments

Leica M10 Battery Teardown and Reverse Engineering

https://tokilabs.co/tech/
1•k2enemy•1h ago•0 comments

The Digital Panopticon Nightmare

https://www.thedissident.news/the-digital-panopticon-nightmare/
4•anigbrowl•1h ago•0 comments

Ask HN: Did anyone else see an avalanche of old email appear in Gmail?

1•DamnInteresting•1h ago•0 comments

Party Till the Break of 10 P.M

https://www.nytimes.com/2025/05/15/style/earlybirds-club-dance-party.html
2•whack•1h ago•0 comments

On-Demand: AI Agent Automation

https://on-demand.io/
1•handfuloflight•1h ago•0 comments

U.S. Loses Last Triple-A Credit Rating

https://www.wsj.com/economy/central-banking/u-s-loses-last-triple-a-credit-rating-bfcbae5d
9•mudil•1h ago•1 comments

FDA clears first blood test for diagnosing Alzheimer's

https://www.statnews.com/2025/05/16/alzheimers-fujirebio-fda-approval/
1•pseudolus•1h ago•0 comments

Really Really Simple "Pure CSS" Squircles

https://gist.github.com/pouyakary/136fafc75a14abd867e0100856add5a0
3•pmkary•1h ago•0 comments

After HTTPS: Indicating Risk Instead of Security (2019)

https://scholarsarchive.byu.edu/etd/7403/
2•transpute•1h ago•0 comments