r/NixOS • • 2h ago

Help Installation

Post image
6 Upvotes

/FIXED/
So, because of the hype and customization, I wanted to try NixOS but I keep getting sent to the Emergency Shell, and this is what I see at 'journalctl -xb'.

I tried fixing this for almost 6 hours now, even with the help of AI, I couldnt get the Installer ISO to run.
Can you guys help about it?


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

nami: new easy declarative package manager for Linux and macOS

3 Upvotes

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 • • 12h 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?


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

i successfully achieved ultimate larp

Post image
19 Upvotes

wm: flwm

minecraft: prismlauncher


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 • • 1d ago

Is Nix Derivations are IR ?

2 Upvotes

Hi folks, I am new to Nix.

As I was exploring Nix, a question poped up in my mind that Nix Derivations could be acting as Intermediate Representation between Nix Expr Lang and the NIX Builders

I want to verify whether or not the only thing that Nix Builder need from the Nix Expr is the generated Drvs

I mean does the Nix Expr compiled to Nix .drv files, which later consumed by the nix builder to generate the desired binaries?

Thank you


r/NixOS • • 1d ago

Laptop overheating and running battery down

0 Upvotes

in the last 2/3 weeks a laptop i use daily, acer swift 5, started spinning up fans and feeling hot while doing its normal job. i then noticed the battery life had pretty much halved.

i rolled back the kernel with this:

boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_6_18.override {
  argsOverride = rec {
    src = pkgs.fetchurl {
      url = "mirror://kernel.org/linux/kernel/v6.x/linux-${version}.tar.xz";
      sha256 = "0w8xqqn7l1lg508129p82sgsm5bx5vgdkx7gids61lbja1a4lxl1";
    };
    version = "6.18.63";
    modDirVersion = "6.18.63";
  };
});   

and the system is back to normal.

the latest 7.5 kernels also have the issue

just an observation, probably not much use. just wondering if anyone else noticed

PS. just remembered that the laptop would also halt when trying to restart. literally on the last line of the reboot it would stop and would have to be hard reset. very odd. that too has gone away by using the earlier kernel

PPS. just upgraded to 6.18.64 and the problem is back so i guess it was introduced in that kernel


r/NixOS • • 1d ago

Nixpkgs for slackware 15.0

Thumbnail gallery
13 Upvotes

r/NixOS • • 1d ago

Tack?

27 Upvotes

So I have never heard of tack before Vimjoyer’s latest video, but this does sound really promising. I’ll admit that the possibility to replace flakes, and experimental features altogether, sounds intriguing.

Does anyone here use tack instead of flakes or with flakes, as the video also suggests? And if you do use it, what are your thoughts?

https://youtu.be/MS_iZlr-XKI

https://github.com/manic-systems


r/NixOS • • 2d ago

When are we getting eac support in nixos

16 Upvotes

Hello lovely devs of nixos , are you guys planning on making a support for eac ? . if not pwease do


r/NixOS • • 2d ago

From Arch to Omarchy back to Arch and now on NixOS (First time user)

7 Upvotes

Being quite a heavy arch user for some time now and had everything configured exactly as I wanted, then boredom struck and I decided to dip my toes in a declarative OS

Started from a minimal install with no GUI, no network, nothing at all was very daunting and I "almost" went home crying back to arch.

Quite a steep learning curve but glad I stuck with it, now I have a setup which works incredibly well.

Overall having only used NixOS for the past couple of days and I am loving it so far, next steps are to create a VM to test all my install/rebuild scripts from the NixOS iso, backed up entire SSD using clonezilla as a precaution.

For anyone curious this is my current setup.

Noctalia 5.6 Shell
Noctalia Greeter
Umbriel Wayland Compositor
Luciole File Manager

Apps
Helium as the default browser (firefox as backup)
Thunderbird for email
Bramble as the password manager (has nix flake support :D)
LibreOffice etc

Custom
Wallpaper Plugin (like Omarchy), double click on the desktop to get a carousel of images
UHID bridge patch for Yoga pen which is not natively supported on my Yoga 9 Pro
Ported StartDrive from Omarchy to run on Noctalia for my rclone remotes


r/NixOS • • 2d ago

Nautilus looks completely different from the GTK file picker in Helium on Hyprland. How do I make them consistent?

Post image
4 Upvotes

r/NixOS • • 2d ago

SENix: Towards SELinux on NixOS

Thumbnail discourse.nixos.org
89 Upvotes

r/NixOS • • 3d ago

Anyone else feel like they didn't retain anything they learned?

26 Upvotes

I have been on nixos for a little over a month now. It has been really fun configuring everything to my liking and I can finally say I have a system that feels like my own.

One thing that concerns me though is that I still don't feel like I am familiar with the nix lang at all. I am at a point where I know how to install the packages I need. How to mange my flake.nix inputs and make configurations. But if I had to remake my system tomorrow it would definitely take me some days to relearn some things.

I understand that the point of nix is to not have to build my system again in the first place. But I just don't feel like I really retained any of the things I learned. If someone asked me to explain my system configuration I would probably mumble about and not be able to give a coherent answer.

Is this something that goes away eventually? Or do long time NixOS users feel the same way?


r/NixOS • • 3d ago

Gentlemens agreement!

Post image
0 Upvotes

Save this picture & whenever you see someone writing "I use arch btw" reply with this.


r/NixOS • • 4d ago

Avoiding builds for nixos-hardware/nix-facter patched kernels

6 Upvotes

Hi all, i'm running into a little issue and i'm wondering if anyone has found a solution to this yet.

I'm building my own nixOS based distribution, and as part of that, i've fully integrated nixos-hardware and nix-facter. this means that the nixos-hardware module for the specific device is already included in the initial install.

this, however, leads to a problem on my surface go gen 1, it is very very slow, but its nixos-hardware module contains a patched kernel that is not in cache.nixos.org, this means that during install, this pentium 4415Y has to build the kernel. this causes install time to jump from about 20-30 minutes to 4 hours *and counting*.

Is there possibly a trustworthy binary cache for these kernels?


r/NixOS • • 4d ago

Adopting NixOS

12 Upvotes

I'm new to NixOS. I've used Linux mostly for the job for nearly three decades. That was cli based. I recently started reading about NixOS back in September. I liked the declarative nature of the config. Early October I acquired a ThinkPad T14 Gen 7 to load it on.

I need accessibility tools like sticky keys and mouse click-lock. Gnome covered most accessibility needs minus mouse click-lock. In the past this missing accessibility feature has prevented me from adopting Linux as a daily driver workstation. I've had conversations with developers of accessibility tools but got no traction.

First I tasked Copilot with engineering a solution. It seemed stuck so I tried Gemini. In a few hours, we came up with a solution using Nix expressions. Quite impressive. The click-lock works perfectly.

Now I'm slowly adding software I use regularly. I'm committed to declaring everything through Nix modules. With success, I've converted an old X1 Carbon I use for roasting coffee, deploying the roaster Appimage software as a Nix Package. The declaration worked. Its tested on the T14 as well.

Next, I converted a ThinkPad P1 G4 that I used for running VMware workstation. It is now running NixOS. VMware is working.

I've added Tailscale mesh VPN. All my systems can reach each other whether they are on the local network or geographically dispersed.

I've got three Windows systems left. I was going to convert more but I think I'll hold off. I'm still very much dependent on AI to assist. In principle, I understand what is going on, simpler changes, I'm good with. But when it comes to things like overlays and such I am still very much trying to figure these out.


r/NixOS • • 4d ago

2035 came early

Thumbnail fzakaria.com
117 Upvotes

r/NixOS • • 4d ago

Packages arent getting uninstalled even though i removed it in configuration.nix

5 Upvotes

For example, if i installed plasma-login-manager (services.displayManager.plasma-login-manager.enable) earlier but i want to remove PLM and use SDDM instead so i just remove PLM's configuration and add SDDM in and run nixos-rebuild switch, then reboot. But after a reboot, PLM still coexists with SDDM and still being set as default instead of SDDM. I'm new to Nix so i will be happy if someone can explain it and have a way to fix it :)


r/NixOS • • 4d ago

I have gone crazy

Post image
61 Upvotes

For the last 8 hours i spent trying to install nixos with help of gpt was targetting to install btrfs subvolume structure via manual method and when tried to boot it failed and from there i kept on doung circles and circles with it's over positive responses i felt like shit this would definitely be last command but now after loosing my insansity i can't do this shit more

And now i am realising i should simply do head bang uffff...

Ps I know i am novice bcz of this shit i did but plz tell me some guide or docx so i can create sub volume btrfs type nixos


r/NixOS • • 5d ago

VentoOS & Vento Ecosystem Update!

Post image
6 Upvotes

Hey! It's been a good minute since my last post about VentoOS. As a recap, VentoOS is a Linux distro/flake designed to be pleasant to use—both for developers who need a system that just works out of the box and for newcomers who just don't want something that breaks. VentoOS is built on Vento Core, which provides boilerplate code and quality-of-life features like JSON configs (allowing you or external tools to edit a JSON file to configure things like drivers or SSH, and then rebuild the system). The Vento ecosystem is still early, but I felt like it was time to post an update :)

VentoOS: https://gitlab.com/external9574519/ventoos/Vento

Vento Core: https://gitlab.com/external9574519/ventoos/vento-core

Discord Server: https://discord.gg/WkCqxa2yZ

I still do have installer struggles. My plan is to have disko partition the drive and then run nixos-install to install it onto the disk via a Kirigami application. Contributions would be nice!

Edit: Also should mention I made the wallpaper my self, no AI.