sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

595
active users

#nixos

42 posts32 participants1 post today

If a package has an src/lib/*.c and *.h folder
One .a file and one .so will nixpkgs be happy to split that into two-four packages?

I think majority of the current deps of rocketdb use either .so or the src files, not sure if the .a file even helps. Also it seems dangerous for rockdb rust which is many versions behind but still is use
#nixos

The zsh module has been refactored to improve path handling. Previously, path resolution was inconsistent and relied on hardcoded `$HOME` references. The module has been restructured to use dedicated path handling functions that properly handle both absolute and relative paths while maintaining consistent behavior. As part of this refactoring, the use of relative paths has been deprecated. Users are encouraged to use absolute paths for more predictable path resolution.
#NixOS #Nix #HomeManager

Ok, team #Linux assemble!!

With lots of help, I've had great success customizing the #nixos installer to install #nixbook after the base install.

However, the FINAL part is wanting to install a few #flatpak at the same time.

The flathub remote adds fine, but the flatpaks won't install because there is no dbus service in this chroot (nixos_enter) environment.

Please tell me there is a way around this?!?! Id rather have it done here instead of trying to wire something on first boot.

Massive thanks to MatthieuBarthel on GitHub (not sure if they're here).

This is the most progress we've had on a dedicated installer, being able to select the #nixbook version, and it runs the install script after.

So. Cool. Being able to customize the #NixOS installer like this.

Few little tweaks and some issues with flatpak installing, but so close to something shippable!

New blog post! 🥳

Development shells with Nix: four quick examples

I wanted to use GoCV for one of my projects (to find and extract paper documents from within a larger scan), without permanently having OpenCV on my system.

This seemed like a good example use-case to demonstrate a couple of Nix commands I like to use, covering quick interactive one-off dev shells to fully declarative, hermetic, reproducible, shareable dev shells.

→ Read more: michael.stapelberg.ch/posts/20

Michael StapelbergDevelopment shells with Nix: four quick examplesI wanted to use GoCV for one of my projects (to find and extract paper documents from within a larger scan), without permanently having OpenCV on my system. This seemed like a good example use-case to demonstrate a couple of Nix commands I like to use, covering quick interactive one-off dev shells to fully declarative, hermetic, reproducible, shareable dev shells.

Grrr, why does every other new #NixOS module need to use DynamicUser 😒
It is not compatible with easily providing sops secrets and using LoadCredentials is just a pain in the ass. Also it usually has negligible benefits.

И года не прошло, я снова на #NixOS
Старый флейк был довольно плохой, но сейчас я учёл все ошибки и переделал всё. Вдохновился ютубером Ampersand и его флейком.

А ещё из его же флейка взял поддержку нескольких хостов, поэтому я использую одинаковый конфиг и на ноуте, и на компе.

Если интересно, можете глянуть:
codeberg.org/ae7er/nixos-config
github.com/excalgm/nixos-config (зеркало чтоб набрать побольше звездочек xD)

Just upgraded my home servers to NixOS 25.05, and now I’m doing my first ZFS RAIDz expansion! Pretty wild Friday night here!

The little NUC-type machine I use as the target for my ZFS backups had 2x 8TB disks in a RAIDZ1. It now has a third. OK, OK, I know my old Synology was able to expand its RAID trivially even when I got it a decade ago, but this is still very nice to have. #nixos #zfs