• TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    16
    ·
    2 months ago

    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
      link
      fedilink
      arrow-up
      4
      ·
      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.

    • Lucy :3@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      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.