this post was submitted on 23 Mar 2026
2 points (56.2% liked)

Programming

26943 readers
526 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
top 5 comments
sorted by: hot top controversial new old
[–] TehPers@beehaw.org 14 points 1 month ago* (last edited 1 month ago) (3 children)

I recently built a voice-to-text agent in Rust

Agent..? Uh, okay, let's just use that word for everything now.

I did not have the Rust toolchain installed on my system. I simply told the coding agent that I use Nix, and it figured out how to pull in the entire Rust toolchain through Nix, compile the project inside an isolated shell and produce a working binary.

Sorry, where is the part where you built something?

Anyway, NixOS gets a lot of praise. Maybe it's something I should try if Manjaro doesn't survive its current drama (though it seems like they have a path forward now).

[–] NostraDavid@programming.dev 3 points 1 month ago

I've been using NixOS for a year now, and I did use LLMs to set up a large part of my configuration: It's absolute amazing being able to share 1 configuration between multiple machines.

I also added a Justfile to hold a bunch of common commands, so I can never forget them :D

Just start out by throwing your hardware-configuration.nix and configuration.nix (from /etc/nix/configuration, IIRC) into a repo, and sudo nixos-rebuild switch as starting command (in that repo).

Also yes, each host will need its own hardware-configuration, but they can share a configuration.nix (to some extent), but just start by adding a list of programs from https://search.nixos.org/packages, oh and @vimjoyer IS the documentation.

[–] lmr0x61@lemmy.ml 3 points 1 month ago* (last edited 1 month ago)

Yeah, that paragraph is where I stopped reading lol

Blog post aside, NixOS is fantastic. Once you get the Nix DSL down, it makes everything so smooth once you know how to configure your system. The learning curve for me came not from the packages, but learning how to set up system/program configurations using configuration.nix, instead of the standard config files. But once you get that down, you can rebuild essentially the exact same system from a single file. I use it for my worker nodes on my server cluster, and it makes setup of new nodes a dream. Definitely recommend.

[–] 30p87@feddit.org 3 points 1 month ago

When installing a package is too hard, one simply should not use a PC. Maybe the nursing home would be a better place.

[–] Flashheart@piefed.dk 1 points 1 month ago

True, so true!