r/NixOS • • 7h ago

nami: new easy declarative package manager for Linux and macOS

3 Upvotes

r/NixOS • • 22h ago

Homelab management with AI

0 Upvotes

Hello,

I have a homelab with nixos machines and opnsense router, and i am trying to work out how to manage it with AI. I have setup opencode and hermes-agent. Both are running on bare-metal using nixos modules. Opencode has access to the whole system while Hermes job is to create PR for nix config which i merge.

Question i have should i give ssh keys to any of these agents to make changes e.g. lookup opnsense router and fix the firewall or start the backup server and insure that backups are in place. What is the best way to manage a homelab with LLM using opencode and hermes?


r/NixOS • • 7h ago

fully-agentic nixOS: how would *you* do it?

0 Upvotes

note: this isnt an "if" question, just a "how". this post isnt to discuss whether a fully agentic setup is good or bad, or whether or not you would use one.

since there's clearly a market for agentic OS, if you were tasked with setting up a nixOS configuration for "fully agentic" use (not neccesarily your own setup/device), where an AI agent is the end user's primary way of interacting with the system, how would you approach setting this up?


r/NixOS • • 9h ago

Running per-app VPNs while the rest of the system runs on one?

3 Upvotes

I'm new to configuring wireguard & VPNs on Linux, I asked claude for a lot of input and am wondering if there are any faults in what I came up with or if there are better practices or things to do.

  • I'm using NetworkManager with iwd for connecting to wifi, since KDE's wifi menu supports it.
  • I have ProtonVPN Plus, for the whole system it works with either the app or with a wireguard configuration imported into KDE. For this I just tested with the former.
  • For per-app connections claude suggested vopono, I set up the systemd unit for it as recommended in the docs. I use commands like this: vopono exec --custom wireguard-config.conf -i eth0 --protocol wireguard browser-name.

    • However it looks like every time I start my PC up I need to do this command (provided by claude) to fix priority: sudo ip rule add from 10.200.0.0/1 lookup main priority 100 (I could have it run automatically on startup or add it to my nix config, but am wondering if something like is normal for this).
  • I mainly want to have different IP addresses in different browsers.

Right now this is my NixOS configuration:

  networking = {
    hostName = "my-pc-host-name";
    networkmanager.enable = true;
    networkmanager.wifi.backend = "iwd";
    firewall.checkReversePath = false;
    wireless.iwd = {
      enable = true;
      settings.General.EnableNetworkConfiguration = true;
    };
    networkmanager.unmanaged = [
      "interface-name:vo_*"
    ];
  };

r/NixOS • • 21h ago

i successfully achieved ultimate larp

Post image
19 Upvotes

wm: flwm

minecraft: prismlauncher


r/NixOS • • 17h ago

Cyberpunk Inspired Splash Screen

Post image
303 Upvotes

I play a LOT of Cyberpunk 2077 and also enjoy the Edgerunners TV show, so I felt inspired to put this new splash screen together.

You can find it here:
https://github.com/DanielTallon/nix-packages#plymouth-nixos-chase


r/NixOS • • 11h ago

NixOS homelab with podman quadlets

3 Upvotes

Hi everyone, i have switched all my devices over to nixos and i still struggle with figuring out how to move my podman quadlets over to nixos i have tried the quadlet-nix flake i have set

environment.etc."systemd/user-generators/podman-user-generator" = {
source = "${pkgs.podman}/lib/systemd/user-generators/podman-user-generator";};

and its still not really working, the containers are failing to start, some dont get write permissions on directories even though the permissions shoudl be right.

anyone have any solutions and tips?