shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

272
active users

#nixos

7 posts7 participants1 post today

The Great GitHub Nix Space Heist 🪓❄️

I've just released Nothing but Nix, a GitHub Action that transforms cramped 20GB GitHub runners into 130GB #Nix powerhouses! 💪

If you've ever hit thr no space left on device error when building #NixOS configs in CI, this one's for you.

This action:

  • Creates a large #BTRFS volume from free space on /mnt
  • Ruthlessly eliminates unnecessary packages in the background
  • Dynamically expands your Nix store as space becomes available

The results? All my large configurations (workstations and servers) now build successfully in CI 👍

Best of all, when I update systems, everything comes from my FlakeHub Cache with zero local compilation time ⚡Updates that used to require coffee breaks now happen in seconds! ⏱️

Check out the full technical details on my blog 👇

https://wimpysworld.com/posts/nothing-but-nix-github-actions/

Being both cheap and stubborn pays off sometimes 😉 #DevOps #GitHubActions

If you'd like 130GB /nix volume in a standard free-tier GitHub runner❄️ then you want the Nothing but Nix GitHub action 🐙

  • Brutally purges unnecessary software from GitHub Actions runners 😈
  • Creates a /nix volume by merging free space from multiple partitions into one optimised file system ️🗄️
  • Build complete #NixOS configurations with the GitHub free-tier 💪

GitHub Actions runners come packed with pre-installed tools you'll likely never use in your #Nix workflow. The typical space available in a standard GitHub runner for /nix is 20GB. We deserve better 😁

Using the "Hatchet Protocol" 🪓 choose how brutal the purge will be, or opt to keep the hatchet sheathed to create an 85GB /nix volume in just 1 second⏱️

Learn more here 👇

  • Nothing but Nix - Removes all the cruft from a GitHub Actions runner to make the most space possible for Nix
Removes all the cruft 🪓 from a GitHub Actions runner to make the most space possible for Nix ️❄️
GitHubNothing but Nix - GitHub MarketplaceRemoves all the cruft 🪓 from a GitHub Actions runner to make the most space possible for Nix ️❄️
Continued thread

Okay the fastest workaround I found for now is:

# build laptop's system on the server (a lot already built, doesn't take long)
server$ nix build .#nixosConfigurations.$LAPTOP.config.system.build.toplevel)"

# copy system manually from server to laptop
laptop$ nix copy --from ssh://server "$(nix eval --raw --apply builtins.toString .#nixosConfigurations."$(hostname)".config.system.build.toplevel)"
# then nixos-rebuild as usual
laptop$ nixos-rebuild --flake . --use-remote-sudo switch

Has *anyone ever* gotten :nixos: #nix to automatically fetch things from another of your machines instead of cache.nixos.org and/or rebuilding everything _again_ locally?

The manual¹ claims one can use --substituers ssh://yourmachine, but (of course) that doesn't work. Terrible or no error messages, that weird 'SSH stdout first line:' message, different port only settable via NIX_SSHOPTS='-p 1234', hangs indefinitely at `querying info about missing paths`...

😩

¹nix.dev/manual/nix/2.24/packag

nix.devServing a Nix store via SSH - Nix Reference Manual

After a few weeks of using #FreeBSD and going through the awesome books by @mwl, I can't stress how much of a breath of fresh air *BSD systems are. Documentation, man pages, all there. Config files exactly where you expect them. The majority in .conf format....
Don't get me started on jails. I used to be in love with NixOS, but #NixOS gave me that nagging feeling of not being in control anymore and too many things had been abstracted away.

Replied in thread

If you are using #NixOS, just use this configuration

```nix
{ pkgs, ... }:
{
services.orca.enable = true; # for screen reader
environment.systemPackages = [
pkgs.pied # only available on unstable at time of writing
]
}
```

Hii~,

I’m quantenzitrone or short Zitrone, a mostly male #human.

I just moved here from #fosstodon because of some moderation drama there leading to some instances defederating, also because i wanted to switch to an instance hosted in Europe.

I like computers, especially those running #GNUlinux especially #NixOS. I’m currently setting up my #homeserver with NixOS. I maintain a few packages in nixpkgs.

I like #programming, especially in #Rustlang, sometimes when programming in other languages I notice that they are in fact not Rust. Sometimes I complain about it on Fedi

I may meow at you especially if you’re cute and/or meow-at-able

I study computer science at @uniheidelberg@xn–baw-joa.social.

You may meet me in the #RaumZeitLabor or at the #GPN and #ChaosCommunicationCongress. This year I also plan to be on the #MRMCD and maybe #NixCon.

My favourite logic gate is XOR.

I am a #Debian user since potato and it made me take the plunge and daily driving #Linux back then without looking back (for the most part). I was always happy with it and would recommend checking it out any day.

Just out of interest though and because a girlfriend and a coworker raved about it, i tried
#NixOS a few weeks ago and I must say that it replaced Debian on my desktop/laptop systems nearly overnight. For the most part it also 'just works' for me.

I don't want to say that any of the two is better, just that I am pleasantly surprised by NixOS and the reproducability and declarative nature of it all.

Thanks to both projects and volunteers for enabling my personal and work IT needs. <3

I think…

I think I might want to try @nixos_org #NixOS.

How did I get here? This is nuts!

I understand that Microsoft & Apple want to tweak their stuff to keep their OSes “fresh,” but the constant upselling and shuffling and elimination of options and controls and features pushed me away, and that’s before we talk about IMPORTANT stuff like privacy & security.

So I went down the #Linux rabbit hole in 2020, and now I’m considering installing NixOS…

Wow…

nixos.org/

nixos.orgNix & NixOS | Declarative builds and deploymentsNix is a tool that takes a unique approach to package management and system configuration. Learn how to make reproducible, declarative and reliable systems.