toad.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server operated by David Troy, a tech pioneer and investigative journalist addressing threats to democracy. Thoughtful participation and discussion welcome.

Administered by:

Server stats:

303
active users

#nixos

13 posts11 participants0 posts today

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.

Continued 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
]
}
```

Fixed my #nixos initrd issue not getting dhcp

Added

boot.initrd.network.udhcpc.enable = true;
boot.initrd.network.flushBeforeStage2 = true;

Also I think it was weird cable issue. Plugging the 10 year old computer into the new router - no IP. Plugging it into older 10/100 switch - gets IP.

A little annoyed with NixOS's documentation.

I had to rewrite the whole GPU information because NixOS documentation is a mess. For starters there are 4 sources, 3 Wiki sites for NixOS concerning Nvidia

Wiki 1
https://nixos.wiki/wiki/Nvidia
Wiki 2
https://wiki.nixos.org/wiki/NVIDIA
Wiki 3
https://nixos.org/manual/nixos/stable/#sec-x11-graphics-cards-nvidia

My goal is just to enable the drivers and allow the user access to the generic settings. If they want to dig deeper or need more, they can explore that on their own, and I link to the new official Wiki (twice) where they can obtain that information. There was a whole thread on their support forums concerning the Wiki and Nvidia, and how to best get Nvidia working.
https://discourse.nixos.org/t/there-are-3-nvidia-wiki-pages-for-nixos/64066?u=linuxisbest

Having me go over everything (several times) gave me the opportunity to expand the AMD and Intel support. It also made me look over my configuration and realize I needed to help make this easier to read. In some places I had too much white space, in others not enough, while going a little too deep in documentation, when the whole goal is to make this easy, so I had to rethink some things.

The good news is I think ultimately, I ended up with a better configuration file (have a look):
https://codeberg.org/Linux-Is-Best/NixOS_Configuration/src/branch/main/basic_config.txt

#NixOs #Nix #Linux #Foss #Nvidia #Development

nixos.wikiNvidia - NixOS Wiki

Thanks to the awesome @leftpaddotpy and 9999years (I don't have their fedi?!), we now have #Lix 2.93.0: lix.systems/blog/2025-05-06-li.

The release notes contain a lot of goodies, nevertheless, another cool thing about it is that it contains a tremendous effort from eldritch horrors to rewrite the I/O and threading model to KJ: the Cap'n'Proto asynchronous runtime.

This unveiled a massive amount of hidden ordering constraints in the codebase, very hard to debug.

1/2 #NixOS

Lix · Announcing Lix 2.93 “Bici Bici”We at the Lix team are proud to announce our fourth major release, version 2.93 “Bici Bici”. This release focuses on bugfixes and continues integrating Lix with the KJ asynchronous runtime, in order to replace the previous bespoke implementation.

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.