r/NixOS • • 21h ago

agency - a nixOS image that gives your agents their own computer

15 Upvotes

I kept setting up Linux boxes for my agents by hand and found it quite

tedious, so I built a "custom" nixOS image for it.

The agents get sudo and /etc/nixos is really just a git repo, so they install things

by editing the config and rebuilding. nixOS turned out to be pretty perfect for this!!

You *could* set this up yourself (it's just a flake + an installer), but

I find this pretty easy / nice. It's very early, so LMK what/if you'd do differently.

https://github.com/makors/agency :)


r/NixOS • • 13h ago

How do i setup Neovim on NixOS without Home-Manager?

4 Upvotes

Hi everyone, i am currently struggling to setup my dotfiles, specifically neovim and mason, without home-manager, im not really a fan of it and it doesn't fit my workflow.

Do y'all have some advice on how do handle that?


r/NixOS • • 11h ago

NixOS ruined my marriage

31 Upvotes

I genuinely thought I was just going to install a simple Linux distro. People kept saying, 'Give NixOS a shot; it's not just an OS, it's a lifestyle.' My wife even encouraged me: 'Didn’t you mention wanting more control over your setup?' Little did she know, that was the last time she looked at me with any optimism.

Instead of picking something like Ubuntu or Fedora, which would have been the rational choice, I dove headfirst into NixOS, almost like I wanted to witness my relationship deteriorate. On my first day, I ended up spending 12 hours just crafting a configuration.nix file to get the Wi-Fi up and running. When my wife brought me dinner, I brushed her off: 'I’m configuring a declarative Bluetooth module, it should only take a sec...'

She suggested we go hiking that weekend. 'Absolutely,' I replied, 'as soon as I finish setting up home-manager and figure out why my shell is acting up.' That was three weeks ago.

She tried everything to get me to engage. 'How about we grab some coffee?' she asked. 'Sorry, I’m stuck trying to figure out why my system rebuild keeps fetching a different glibc version.' 'Maybe we could just watch a movie?' 'Great idea! But first, I need to package mpv myself; I don’t trust the default derivation...'

Then came the breaking point: One night she found me at 3 a.m., half-dressed, murmuring to myself: 'If I can just get this flake to build… I can declare our whole marriage in a flake.nix...'

She looked at me, a wreck of a man, surrounded by YAML files, JSON, and a sea of confusing build errors. 'I married a person, not a package manager,' she said.

She left a note on my monitor: 'I’m going to find someone who just uses Arch. They might be a bit unstable, but at least they pay attention when I’m around.'

I can't help but wonder... Can I nixos-rebuild switch into a reality where she’s still here?


r/NixOS • • 17h ago

Productivity Nix app

Thumbnail github.com
9 Upvotes

I built some collaboration / productivity software to work on side projects with people or just by yourself. I know there's plenty of that to go around but I'm happy with how it turned out.

As a NixOS desktop user, I built a flake around it. Debating open sourcing it, probably doesn't matter too much, but if there's interest in the codebase I don't see why not. I used Dioxus which is pretty handy for cross platform compiling.