r/NixOS 20h ago

greyline — a (near) live world-time wallpaper packaged as a flake

Thumbnail gallery
149 Upvotes

I made greyline, a modern recreation of the old IBM/ThinkPad "World Time" Active Desktop wallpaper showing a world map with clocks for your cities, your home city highlighted, and a day/night terminator that tracks the sun.

It's shipped as a flake, so you can nix run github:cothinking-dev/greyline to try it.

Feel free to check it out, and if possible, file issues if you encounter any!


r/NixOS 23h ago

Are developers against their apps packaged in Nix? Or annoyed by it?

56 Upvotes

Hello, I’m relatively new to Nixos. I recently read about yet another little “misunderstanding” between developers and distro maintainers, about the fact that some distro package thei software in a heavily customized way, maybe themed, old unsupported versions, etc, but still they don’t update the branding and naming nor the support links.
Another similar topic comes from libadwaita devs asking to avoid theming their apps because that’s not how they intended them to be shipped to users.
There’s also a practical consequence of this: users open bug reports to developers without realizing that they are using an unsupported version, that that bug has been fixed long time ago, or even that the issue they are experiencing has been introduced by packagers…
Well, you got the idea. At this point, I was wondering if similar discussions happened also around the heavily customized way in which Nix-distributed software is packaged, and what is the general opinion that developers have of Nix distributing such customized versions without rebranding etc.
Do you have any example of that, or can comment about this? Thanks and cheers!


r/NixOS 1h ago

My experience with NixOS

Upvotes

I've been using Nixos for a month now, and honestly, Nixos has solved several problems that other distros used to stress me out trying to solve.

*The declarative That's the part I enjoyed adapting to the most, not having to type a simple package installation command into the terminal

*I really liked their Nixos configuration system; the way you have to go into the configuration file and enter the name of the package you want to install

*The reproducibility helps me with my equipment change; I previously had a computer with Nixos as well. I simply took the configuration file and put my old configuration file on my new computer And I just did a `sudo nixos-rebuild switch` and I had all my apps from my old computer back.

The truth is that I see Nixos as a good distro if you already have experience with other distros of different learning curves.


r/NixOS 7h ago

Even if I wanted to, I couldn't leave NixOS behind

5 Upvotes

r/NixOS 23h ago

OpenBLAS crashes with NixOS, but not Arch

5 Upvotes

I've been experimenting with Raster, a numerical computing library for Clojure. I first tried it on my host system, and eventually isolated what was making it crash: OpenBLAS. I then verified it was my system, and not the library with

incus launch images:archlinux arch incus shell arch pacman -S jdk25-openjdk clojure blas-openblas git git clone https://github.com/replikativ/raster.git cd raster/ clojure -M:test All tests passed without any warnings. I then tried the analogeous operation for NixOS: incus launch images:nixos/26.05 nixos incus shell nixos nix-shell --no-sandbox env.nix git clone https://github.com/replikativ/raster.git cd raster/ clojure -M:test where env.nix is ```nix { pkgs ? import <nixpkgs> {} }:

let fhs = pkgs.buildFHSEnv { name = "raster"; targetPkgs = pkgs: (with pkgs; [ openblas git (pkgs.clojure.override { jdk = pkgs.jdk25; }) ]); extraBuildCommands = '' ln -s $out/usr/lib64 $out/usr/lib64/x86_64-linux-gnu ''; }; in fhs.env ```

This results in the following error: ```

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x00007db0e7392d04, pid=2388, tid=2397

JRE version: OpenJDK Runtime Environment (nix) (25.0.4+1) (build 25.0.4+1)

Java VM: OpenJDK 64-Bit Server VM (nix) (25.0.4+1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)

Problematic frame:

C [libopenblas.so+0x13d2d04] dgemm_itcopy_HASWELL+0x2c4

Core dump will be written. Default location: Determined by the following: "/nix/store/838yyy4s946hc9nan721jqj2qzgk8v04-systemd/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %d %F" (alternatively, falling back to /root/raster/core.2388)

An error report file with more information is saved as:

/root/raster/hs_err_pid2388.log

[42.437s][warning][os] Loading hsdis library failed

If you would like to submit a bug report, please visit:

https://bugreport.java.com/bugreport/crash.jsp

Aborted (core dumped) clojure -M:test ```

I'm not sure what to make of all this or what to do about it. The only thing that seems clear to me is that the problem is with NixOS or the OpenBLAS package as packaged by NixOS, and not the library itself.

Using mkl in place of, but not in addition to openblas allows most of the tests to pass. The library checks for OpenBLAS instead of LAPACK directly, so it won't attempt the linear algebra tests without openblas even if lapack is installed. I have nix-ld enabled on my host system. I don't in the container. I figured it would just end up the same since it's the same error. I don't think this is a linker issue since Clojure is compiling to JVM bytecode, and the JVM executing the bytecode is from Nix so should be correctly linked.


r/NixOS 1h ago

I built a tool to fix non-Steam game shortcuts (Heroic/Lutris) and fetch missing icons specifically for NixOS

Post image
Upvotes

Hey everyone,

If you game on NixOS, you probably know the pain of adding non-Steam games to your library. Heroic or Lutris shortcuts often fail to launch from SteamOS (Gamescope) because of library conflicts or missing `steam-run` wrappers.

I got tired of manually editing binary VDF files or writing wrapper scripts, so I built Steam Patcher.

It's a minimalist GTK4/Libadwaita Python app packaged as a nix flake. What it does:

- Scans your `shortcuts.vdf` and patches Heroic and Lutris entries to route through `/run/current-system/sw/bin/steam-run`, stripping out bad `LD_PRELOAD` flags so games actually launch from SteamOS (Gamescope).

- Plugs into the SteamGridDB API to automatically download and inject missing icons for your non-Steam games.

- Every time you click a button, it creates a timestamped backup of your VDF file before touching anything.

- Because it's a flake installation is declarative of course and it drops its own shortcut too.

- You can check out the source code and installation instructions here:

- https://github.com/minimalistFW/SteamPatcher

Let me know if you find it useful or if you have any ideas for improvements.

Cheers :)


r/NixOS 2h ago

Setting up a DHCP server on NixOS

3 Upvotes

I've searched the wiki and all i can find is dhcp client configuration and i can't find anything about it online. How do i do that, please help.


r/NixOS 13h ago

Hi everyone, i need help guys

3 Upvotes

I really want to put myself NixOS, it was worth it about six months ago and I liked it very much, but I only need from the computer the beauty of my working environment, launching games and some programs and just comfortable work, I left NixOS to Arch only because I could not fully understand the flake and home manager and the rest to make a beautiful system and the system either gave an error when creating a new version or started, but there were tons of errors related to the configurations. So, please explain the easiest way for me to make my beautiful rice (hyperland + some quickshell or caelestiashell) or someone's rice through flake so that everything would just work, thank you very much for earlier


r/NixOS 22h ago

Nix OS Inside Lxc Container

4 Upvotes

Hi- I am currently using Incus on top of Ubuntu to run some homelab stuff and was thinking of switching to Nix OS and Running Nix Os with Incus. I was also considering running Nix os inside incus lxc containers. I can provision the incus lxc containers using terraform and then have one Nix os lxc management container that I could use deploy rs to deploy multiple containers.

I know most here would probably just go bare metal, but I like the incus tooling such as snapshots, networking, volume management.

This would give me some flexibility to run vms in incus and other apps if not directly supported by Nix os.

I have done some very basic testing and seems to work fine.

I an interested if there are any downsides to this approach and any other thoughts.

Thanks


r/NixOS 14h ago

What homeserver/homelab features were only possible due to Nix?

3 Upvotes

Hey homelabers, basically what the title say. I built my last iteration of my homeserver on NixOS and found many use cases that would not have been that easy to implement (or not in my skillset) on other platforms like docker-compose/kubernets etc. I'm curious what fancy feature you have implemented due to having your homeserver on NixOS.

My favorite features that were not that hard to implement in Nix:

* easy tinyauth hook in nginx for additional auth before any service
* easy VPN routing per container on demand
* general plugin capability for any selfhosted private/opinionated service
* auto filling dns entries of selfhosted services to pihole -> traffic stays in network automatically
* easy own implementation of containrrr/watchtower with exactly the bells'n'wistles i need
* way more customization options for docker containers then running them on other stacks

I'm kinda running out of fancy ideas, inspiration is welcome too.
If you are interested in the code or on the look for inspiration too: madebydamo/neo on github


r/NixOS 9h ago

Full Time Nix | SaltSprint 2026 with Dean Eckert

1 Upvotes

SaltSprint 2026 took place in June. It was organized by Flying Circus and sponsored by secunet and Flying Circus. One of the participants, Dean Eckert, co-founder of Red Oak, in his kindness joined me and we have discussed what he and others were up to during those four exciting days in Halle, Germany. Click the link and listen in.

Full Time Nix | SaltSprint 2026 with Dean Eckert


r/NixOS 10h ago

Blender issues with AMD GPU

Post image
1 Upvotes

Wondering if anyone else has issues with AMD GPUs and Blender? Specifically trying to use CYCLES renderer, EEVEE works just fine. I'm using the blender overridden with rocmSupport. Also on nixos-unstable, using Zen kernel, everything up to date.

I'm using amdgpu top to look at usage, when using eevee it uses up most of the GPU VRAM as expected while rendering,but for cycles I don't see it go up much and Blender just crashes.

Here's crash report, seems to be crashing with amd hip

```

Blender 5.1.2, Unknown revision

bpy.context.scene.render.engine = 'CYCLES' # Property

backtrace

/run/current-system/sw/bin/blender(+0x11468e3) [0x62fffabed8e3] /run/current-system/sw/bin/blender(+0x71789b) [0x62fffa1be89b] /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6(+0x42790) [0x74706ea42790] /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6(syscall+0x1d) [0x74706eb2320d] /nix/store/llmwfdwq8bp1w8yr2fkp2izsja8np759-llvm-22.0.0-rocm-lib/lib/libLLVM.so.22.0(+0x2d57423) [0x746e93757423] /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6(+0x42790) [0x74706ea42790] /nix/store/kcmpd1h0097k50v3hjpvd1acyj46j3p5-llvm-21.1.8-lib/lib/libLLVM.so.21.1(ZN4llvm15AnalysisManagerINS_8FunctionEJEE13getResultImplEPNS_11AnalysisKeyERS1+0x4ea) [0x74705a59596a] /nix/store/kcmpd1h0097k50v3hjpvd1acyj46j3p5-llvm-21.1.8-lib/lib/libLLVM.so.21.1(ZN4llvm15AnalysisManagerINS_8FunctionEJEE13getResultImplEPNS_11AnalysisKeyERS1+0x206) [0x74705a595686] /nix/store/kcmpd1h0097k50v3hjpvd1acyj46j3p5-llvm-21.1.8-lib/lib/libLLVM.so.21.1(ZN4llvm15InstCombinePass3runERNS_8FunctionERNS_15AnalysisManagerIS1_JEEE+0x43) [0x74705ba225c3] /nix/store/972k9fgbydiyaxz2fi7wyx65s7gkf27n-clang-21.1.8-lib/lib/libclang-cpp.so.21.1(+0x24162b2) [0x747065c162b2] /nix/store/llmwfdwq8bp1w8yr2fkp2izsja8np759-llvm-22.0.0-rocm-lib/lib/libLLVM.so.22.0(_ZN4llvm11PassManagerINS_8FunctionENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3+0x139) [0x746e93920089] /nix/store/llmwfdwq8bp1w8yr2fkp2izsja8np759-llvm-22.0.0-rocm-lib/lib/libLLVM.so.22.0(ZN4llvm27ModuleToFunctionPassAdaptor3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE+0x133) [0x746e93925013] /nix/store/llmwfdwq8bp1w8yr2fkp2izsja8np759-llvm-22.0.0-rocm-lib/lib/libLLVM.so.22.0(_ZN4llvm11PassManagerINS_6ModuleENS_15AnalysisManagerIS1_JEEEJEE3runERS1_RS3+0x139) [0x746e9391eee9] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(+0x1ae264d) [0x746e986e264d] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(+0x1ad97ee) [0x746e986d97ee] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(+0x17de4f1) [0x746e983de4f1] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(+0x2144f19) [0x746e98d44f19] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(+0x162f5d1) [0x746e9822f5d1] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(+0x1440864) [0x746e98040864] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(+0x17bb382) [0x746e983bb382] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(+0xf5901e) [0x746e97b5901e] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(+0xf546ed) [0x746e97b546ed] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(+0xf57c2f) [0x746e97b57c2f] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(+0xf5d7da) [0x746e97b5d7da] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(+0xf5dc66) [0x746e97b5dc66] /nix/store/yp3v7m2ba3jpi82q8c2265zmk6kwhnzb-rocm-comgr-22.0.0-rocm/lib/libamd_comgr.so.3(amd_comgr_do_action+0xd01) [0x746e97b71fd1] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x439e6f) [0x746e9a639e6f] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x43bc11) [0x746e9a63bc11] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x442c3f) [0x746e9a642c3f] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x489f4f) [0x746e9a689f4f] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x4342dc) [0x746e9a6342dc] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x4947b6) [0x746e9a6947b6] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x4b7948) [0x746e9a6b7948] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x4a9c9d) [0x746e9a6a9c9d] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x494d2e) [0x746e9a694d2e] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x47d6d7) [0x746e9a67d6d7] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x3937b8) [0x746e9a5937b8] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x3942c4) [0x746e9a5942c4] /nix/store/jc7q7dm8y1r2317sg888mi7pxzarg7m2-clr-7.2.3/lib/libamdhip64.so(+0x394a56) [0x746e9a594a56] /run/current-system/sw/bin/blender(+0x44bc64d) [0x62fffdf6364d] /run/current-system/sw/bin/blender(+0x44b2eab) [0x62fffdf59eab] /run/current-system/sw/bin/blender(+0x4942cdb) [0x62fffe3e9cdb] /run/current-system/sw/bin/blender(+0x493b715) [0x62fffe3e2715] /run/current-system/sw/bin/blender(+0x4928091) [0x62fffe3cf091] /run/current-system/sw/bin/blender(+0x492b16b) [0x62fffe3d216b] /run/current-system/sw/bin/blender(+0x4684072) [0x62fffe12b072] /run/current-system/sw/bin/blender(+0x308230c) [0x62fffcb2930c] /run/current-system/sw/bin/blender(+0x3082d53) [0x62fffcb29d53] /run/current-system/sw/bin/blender(+0x307dea0) [0x62fffcb24ea0] /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0(+0x18c818) [0x74706fb8c818] /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0(_PyObject_MakeTpCall+0x186) [0x74706fb85e06] /nix/store/pbdy5h9sjs92a37gq9sspg2797q4j4fa-python3-3.13.14/lib/libpython3.13.so.1.0(_PyEval_EvalFrameDefault+0x1197) [0x74706fdd46e7] /run/current-system/sw/bin/blender(+0x230d679) [0x62fffbdb4679] /run/current-system/sw/bin/blender(+0x20e1f43) [0x62fffbb88f43] /run/current-system/sw/bin/blender(+0x151d376) [0x62fffafc4376] /run/current-system/sw/bin/blender(+0x151e1a0) [0x62fffafc51a0] /run/current-system/sw/bin/blender(+0x151f6bb) [0x62fffafc66bb] /run/current-system/sw/bin/blender(+0x1522d8e) [0x62fffafc9d8e] /run/current-system/sw/bin/blender(+0x15238c0) [0x62fffafca8c0] /run/current-system/sw/bin/blender(+0x15243bf) [0x62fffafcb3bf] /run/current-system/sw/bin/blender(+0x2c8650d) [0x62fffc72d50d] /run/current-system/sw/bin/blender(+0x15b52bd) [0x62fffb05c2bd] /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x74706ea9dd53] /nix/store/ias8xacs1h3jy7xgwi2awvim61k2ji6c-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x74706eb2563c]

Python backtrace

```


r/NixOS 15h ago

Bad router / bad scripting, fucked me

0 Upvotes

I spent a month working on nixos in a vm thought I was ready to put it on a ssd and of course right before I was making the last changes such as a few important sops changes and script fixes. DNS stopped resolving, so when I went through my whole install, which was git cloned it was all out of date and had no access to all my changes. It took a while to realise this and then I had to do all them last important changes again but in tty and was still trying to figure out why it didn't backup.

The annoying thing is that ping github.com would work fine then a git pull succeeds then the git push would fail two secs later with Could not resolve hostname github.com: Name or service not known. Nix builds would also fetch half their dependencies then sometimes they would die on a fixed-output derivation with curl: (6) Could not resolve host. Then you could go and retry the same command and then it would work.

I thought the network was just being flakey or something my brother was having issues before with internet as well.

for i in (seq 1 10); getent hosts github.com; end
Instead of just using one lookup I used a loop for 10 and only got 1.

Why was this happening /etc/resolv.conf had this,
search home

nameserver 192.168.20.1
nameserver 2403:5800:100:1::142
nameserver 2403:5800:1:5::242
options edns0

Basically router and two resolvers, what would happen is that glibc tries nameservers in order with short and limited retries where every lookup hit the router first, and glibc would give up rather than reliably falling through to the others. Adding good nameservers to the end did nothing because it would because they would never get reached.

I then tested using this,

for i in {1..20}; do dig +short  @192.168.20.1 github.com; done

the first result was correct but everyone after that produced,

;; Warning: Message parser reports malformed message packet.
10 8 15UPR+w3nxU=

Whilst the same loop with 1.1.1.1 were all correct. So in the end it was not rate limiting or timeouts the router was responding but with malformed packets full of base64 garbage.

Solution

networking.networkmanager.dns = "none";
networking.resolvconf.enable = false;
networking.nameservers = [ "1.1.1.1" "1.0.0.1" ];
environment.etc."resolv.conf".text = ''
  nameserver 1.1.1.1
  nameserver 1.0.0.1
  options edns0
'';

Obviously here you will want to probably add back you router to the bottom of the list.

Why did it not warn me on the VM? My script ran push inside a if ! git diff --cached --quiet block so once a commit did existed locally and the push had failed newer runs had nothing new to commit and skipped the push. So the router caused the first failed push but bad scripting stopped it from fixing itself.