r/NixOS • • 10h ago

Announcing NixLab; A NixOS based hypervisor for homelabbers and declarative nerds

Thumbnail
gallery
91 Upvotes

(English isnt my first language) Hey everyone, with all the vibe coded slop out there, me saying I didnt write a single line myself should discourage you, but believe me when I say this is cool asf.

I daily drive it on my home server, hosting a catalog server for my home theater (aiostreams), a 3d printer server (klipper), adguard dns network wide adblocker and cloudflare tunnel image. All this uses < 2 gb ram on idle while the server is running.

It follows the Linux philosophy; embrace specialty over being a jack of all trades.

NixLab combines different projects, each focusing on doing one job including:

- cockpit: for online terminal ui

- incus: vm managerment

- portainer: docker images management

And it adds a custom console at port 80 and 9440, which puts every service together and adds a lot of quality of life features like onboarding and tutorial, docs, links, network management, dashboard for all vms and images. It also creates incus browser certificates and gives u the password when importing!

The system itself is packed with a lot of qol as well, the shell (bash) is configured to be as convenient as possible with auto completion, copy and paste management (even thru cockpit), backup, update, rollback and building new versions thru console. (im the prompt master arent I!)

Im begging you, checkout the project, I need a successful FOSS project to brag about. I will be actively maintaining it since I use it for my own homeserver, any issues faced will be fixed thoroughly, and this is the realest we have gotten close to a nixos hypervisor based on NixOS.

Installing is easy, no custom iso! Just install nixos and run one command and setup the system from the webui at port 80, or, if u want to configure it for urself just fork the repo and run the same command but for your own repo after u r done customizing the code.

Im putting the finishing touches on the project, wanted to get yall's thoughts!


r/NixOS • • 8h ago

drama again?

Thumbnail
gallery
40 Upvotes

r/NixOS • • 2h ago

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

7 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 • • 6h ago

How do you structure multihost and multiuser NixOS flakes?

5 Upvotes

How do you guys structure your NixOS flakes to support multiple hosts and users? Do you split them into different repos?

I've been thinking about splitting my configuration into a nixos-core-flake repo and separate host-specific repos (e.g. one for my laptop and another for my desktop). The core flake would provide:

  • `mkHost` function with flexible parameters for configuring each host.

  • Optional modules that can be imported into host/user configurations.

I'm curious how you approach this and if such a separation even makes sense in practice.

I'd also appreciate feedback on my current configuration: https://github.com/Monavixx/my-nixos-config

P.S. The README and most of the Quickshell configuration were written by AI.


r/NixOS • • 14h ago

150 Days on NixOS ­­— Longest I Have Ever Spent On A Distro

11 Upvotes

I have been using linux since early 2025. My first distro was Ubuntu (ofc, a guy in his late teens frustrated by windows 11 ram usage (now in my early 20s)), but found out ubuntu wasn't that good either, so i watched yt, and went to mint, no improvements, ... tried fedora (slight better, but not my target), tried arch, suffered a lot, hopped on many distros, cycled between fedora and arch based distros for some months, until i found out about nix and nixos.
I installed NixOS, by following a tony-btw guide. It's the longest time I have ever spent on a linux distro and never got bored, or even broke my system apart from some kernel panics (happens occasionally because I use the zen kernel). for me 150 days is green signal 🟢....

NixOS for life !!! 🎉 congrats to me for surviving that brutal learning curve !!


r/NixOS • • 19h ago

Results for the third Nix Steering Committee election 2026

Thumbnail discourse.nixos.org
24 Upvotes

r/NixOS • • 13h ago

Beginner nixos query

6 Upvotes

I'm just starting to look at nixos as the declarative reproducibility appeals to me., if this can be separated from the hardware config.

At first I thought this meant the system, home, all apps could be declared in a single config file but this doesn't seem to be the case at all?

I thought this would mean it's easy to get some community configs and replicate their setup almost seamlessly.

I wanted to try some mango wm setups but can't seem to find any?

The few community configs I've come across emphasise that their setup is for specific hardware only eg. Nvidia etc. I find this confusing as I thought the hardware config is separated completely?

My questions are

  1. as hardware config is a separate file, aren't most community configs easy to just download and rebuild with? If not why?

  2. I understand each app and home directory could have multiple app config files. Is there a central way to declare the settings for each app, rather than go into 100 different app config files?

Is home manager the only way to do this?

3) is there a centralised way to backup all your config files from your system, flakes, app configs, home directory config so you can take to another PC later with different hardware?

4) how does any centralised backup restore process handle scenarios where an app might have multiple config files needed?

This doesn't seem as simple or beneficial as I first, unless I've misunderstood the options available?

Thanks in advance for all the queries.

Nixos noob


r/NixOS • • 7h ago

Weird evaluation error when rebuilding system with no changes or update.

2 Upvotes

Changed absolutely nothing about my system, didnt update it or anything. And for some reason im getting an issue with a haskell package even though I dont have any in my configuration. Anyone experienced this bug or know how to fix it?

error:
       … while evaluating a branch condition
         at «https://releases.nixos.org/nixos/unstable/nixos-26.11pre1119549.d5cc68339997/nixexprs.tar.zst?narHash=sha256-bTKSclXJAmo9qdxPedTBHUGr8awPr4BrbOoOutJsYIc%3D»/lib/asserts.nix:200:5:
          199|     in
          200|     if failedAssertions != [ ] then
             |     ^
          201|       throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}"

       … while calling the 'catAttrs' builtin
         at «https://releases.nixos.org/nixos/unstable/nixos-26.11pre1119549.d5cc68339997/nixexprs.tar.zst?narHash=sha256-bTKSclXJAmo9qdxPedTBHUGr8awPr4BrbOoOutJsYIc%3D»/lib/asserts.nix:198:26:
          197|     let
          198|       failedAssertions = catAttrs "message" (filter (x: !x.assertion) assertions);
             |                          ^
          199|     in

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: undefined variable 'containers'
       at «https://releases.nixos.org/nixos/unstable/nixos-26.11pre1119549.d5cc68339997/nixexprs.tar.zst?narHash=sha256-bTKSclXJAmo9qdxPedTBHUGr8awPr4BrbOoOutJsYIc%3D»/pkgs/development/haskell-modules/hackage-packages.nix:226939:9:
        226938|         base
        226939|         containers
             |         ^
        226940|         contravariant
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '/home/spoon/nixos-dotfiles#nixosConfigurations."spoon".config.system.build.toplevel' --no-link' returned non-zero exit status 1.

r/NixOS • • 21h ago

My minimal nixos setup

Post image
22 Upvotes

r/NixOS • • 19h ago

dynamic island rice on NixOS and Niri, no ai

Thumbnail gallery
11 Upvotes

r/NixOS • • 1d ago

nixos job ad in the philippine islands

Post image
56 Upvotes

r/NixOS • • 1d ago

beer.drv.drv.drv

Thumbnail fzakaria.com
25 Upvotes

r/NixOS • • 11h ago

Nix bug on hyprland

Thumbnail reddit.com
1 Upvotes

r/NixOS • • 1d ago

nixos frost wallpaper (for the guy who asked)

Post image
60 Upvotes

idk if this is spam but foss go brr


r/NixOS • • 7h ago

ekapkgs-update, The future of updating Nix repos

Thumbnail updates.jonringer.us
0 Upvotes

r/NixOS • • 1d ago

NixOS glazing time 🔥😮‍💨

21 Upvotes

It's been about 2 months of using NixOS, and all I have to say is that it's just peak 🔥

It was hard to learn, but we all know the saying "no sacrifice, no victory" from the bay verse transformers, it took a while but here I am.

It's declarative-project-like-management nature, is something I really appreciate, So I just want to hear y'all glaze it's declarative nature 🔥


r/NixOS • • 2d ago

NixOs

Post image
102 Upvotes

Okay so as stupid as I am, I've been hearing about nix os and how it's beautiful and all that, so I have decided to install it after multiple failed attempt and now I can download anything at all. I need help.


r/NixOS • • 1d ago

migrating git + flake.nix dev environment to pijul + nixtamal + shell.nix

Thumbnail zknotes.com
3 Upvotes

I wanted to try out the pijul version control system in a new project - building the dioxus demo project targeting android. I ran into problems and eventually solved them.


r/NixOS • • 1d ago

'filesystems' option does not specify your root file system

Thumbnail
reddit.com
0 Upvotes

Greetings!

I have a similar problem to the attached post but haven't installed nixos as of yet. Can someone please help me.

I'm using systemd and in the manual they do mention about filesystems that may not load in from nixos-generate-config but the instructions is not so clear to me.

I am aware that this post isn't enough information for anyone informed enough to help but anything you need for me to give then I shall provide.


r/NixOS • • 2d ago

I can't imagine managing my servers with anything else.

82 Upvotes

Seriously. I manage about a dozen containers and VMs all running nixos. Some are in my home proxmox instance, others are on third party VPSes. It's so easy to do fleet-wide updates and changes.

I always get a spark of joy when I `nix flake update && deploy` and know that everything is up to date and I didn't need to ssh into a single machine. No ansible BS, no brittle ad-hoc scripts.

Modules - so amazing. My proxmox LXCs require special configuration. No need to duplicate the code across each LXC; create a module and it's one line: lab.proxmox.enable = true. On my VPSes, I need some traffic to go over wireguard VPN. A custom module makes it just a few lines to configure wireguard, firewall rules, and deploy the private keys securely (sops-nix!).

And overlays! I manage some tor relays. tor has been under heavy attack for a while now and they've been putting out releases frequently. Rather than wait for unstable branch to get updated, I have like an overlay (10 lines of code) that builds from the latest release. And just like that - latest tor version. No need to go on the machines and compile and install it, or have butt-ugly ansible stuff do it. Oh, and compilation only happens once - done on my nix build serve – and deploy simply copies everything over (thanks, deploy-rs!)

Spinning up a new service is so easy. Create LXC/VM in proxmox, add networking info to my nix repo, deploy. Boom, new nixos instance with my user, ssh+public key, all the usual packages I need, etc.

I have a couple VMs that can't use nixos, they're such a drag.

It's hard to convey to people that don't use nixos why it's so great. But until you feel your mindset switch from imperative to declarative, it's difficult to truly understand why we love it so much here.


r/NixOS • • 1d ago

NixOs

Post image
0 Upvotes

well after one day of using nix os. I give up. I guess my ass belongs to windows 11. I swear to God, the nix manual only makes sense if u have a past Linux experience which I don't. I had ubuntu for like 2 weeks and them I stopped using it. But to the nix community, thank you for all the help and explanations. I didn't understand most of them tho, but thanks for helping. anyways, the next time u see a post from me will be me on windows. and nix users should stop lying about, reading the manual to understand nix. that is a big lie. reading the manual didn't help me in anyway. in fact today, I just got logged out, all I was trying to do was install telegram and all of a sudden my screen went black I forced a restart and then boom, my password and user name is incorrect. the whole thing was just stressful. I give up😭


r/NixOS • • 1d ago

Installing nixOS in a nonconventional dualboot

5 Upvotes

My conditions:

  1. The EFI files are nonstandard locations, there are no boot entries for systemd-boot (shouldn't be)

  2. Other distributions share the same xbootldr, shouldn't be affected.

  3. ESP has windows, shouldn't be affected

The nixOS config is constructed per my requirements, the rootfs is ready with the config, I only need to `nixos-install` from fedora.

Just want to confirm


r/NixOS • • 1d ago

Localsend v1.18.0 Not Launching

Post image
4 Upvotes

is anyone facing localsend_app not launching, I have tried rebuilding the generation with `environment.systemPackages = [ pkgs.zlib ];` but it is still not working ?

I am using localsend via `programs.localsend.enable = true;`.


r/NixOS • • 1d ago

Are you using Hermes (skills) declaratively on Nix?

Thumbnail reddit.com
0 Upvotes