Unter NixOS muss man bash scripte abändern ....

In die erste Zeile gehört
#!/usr/bin/env bash statt #!/bin/bash

Muss man auch erst mal drauf kommen
😆

#linux #nixos #glfos #bash

As promised a new post be published about resolving Out Of Memory (OOM) problems on Raspberry Pi v5 running NixOS;

https://s0ands0.github.io/nix/oom-raspberry-pi/

#FOSS #NixOS #Linux

OOM Raspberry Pi

Managing out of memory conditions with grace on low memory devices

S0AndS0
Okay, so NixOS is pretty great. Reproducibility is fantastic, being able to recover a borked system easily is a life-saver, and Home Manager with things like Stylix make personalization simple.

But look, I write web stuff with Ruby and Elixir, both with their own package managers. Tools like
Mise are commonplace, but it seems like they won't run on NixOS!

It may not be idiomatic Nix, but if I can't run the commonplace tools, I might just have to bail...anyone have any advice?

#nixos #ruby #elixir #linux #damn
Home | mise-en-place

mise-en-place documentation

mise-en-place

NixOS 26.05 “Yarara” sürümüyle birlikte kaputun altındaki en büyük değişiklik nihayet varsayılan oldu: Eski bash betikli Stage 1 boot süreci yerini systemd-initrd’ye bıraktı.

NixOS 26.05: systemd-initrd Devrimi ve Impermanence Çatışması https://xmrah.com/blog/2026-06-20-nixos-26-05-systemd-initrd-impermanence/#

#nixos #linux #impermanance

NixOS 26.05: systemd-initrd Devrimi ve Impermanence Çatışması

NixOS 26.05 ile varsayılan olan systemd-initrd'ye geçiş sürecim. Özellikle tmpfs root ve impermanence kullananların yaşayacağı sürtünme noktaları ve çözüm yolları.

xmrah

NixOS 26.05’e geçiş sonrası sistemimi audit ederken dmesg çıktıları arasında hiç görmek istemediğim bir şeyi fark ettim: AMD’nin TSME özelliğine dair tek bir satır log yok.

AMD TSME Sessizce Gitti: Ryzen'de Cold Boot Saldırı Yüzeyi

https://xmrah.com/blog/2026-06-20-amd-tsme-cold-boot-ryzen/

#amd #tmse #nixos #güvenlik #donanım

AMD TSME Sessizce Gitti: Ryzen'de Cold Boot Saldırı Yüzeyi

Ryzen AM5 işlemcilerde AMD TSME (Transparent Secure Memory Encryption) özelliğinin sessizce kapatılması ve NixOS üzerinde cold boot saldırılarına karşı alınabilecek önlemler.

xmrah

My first, real open source contribution https://github.com/nix-community/home-manager/commit/a4ee5403cafbc708ad0f0d585965f1931ec340a8 It involved a crash course in Bash arrays; I have never used them before.

I helped! 😄

#NixOS

home-manager: Pass extraArgs to nix-instantiate · nix-community/home-manager@a4ee540

My NIX_PATH is empty because of the new system.nix NixOS entry point. I've been relying on -I options more and here they're not being passed to nix-instantiate.

GitHub

Just installed a bunch of things by editing the config file, which went smooth. So far I like #NixOS 

Edit: tomorrow I'll try creating a flake.

Looks like it's time to learn #agenix (or similar).
I guess first locally, trying to combine at the same time with a deployment option (colmena ?) would probably be too much at once 🤔

#NixOS

@ronnylam no this is just me installing the default #NixOS ISO. I'll look at the DAWO version later - I expect it has specific configurations for a multi-user managed setup, which I don't need but we'll see.

@0xDUDE knows more about this, as DAWO team member.

I think I'm going to throw in the towel. I've learned a lot — mostly by asking AI, because the #NixOS documentation is just horrendous and the community even moreso. Unlike with Linux as a whole, though, it isn't just the documentation or the community: the bedrock of how this thing even functions is so anti-user. Immutability might be nice for business environments, but for the average user who wants to be able to actually use their system, maybe even tailor it to how they want it to be, there's just no way. I struggled for hours on how to change a single line in a single config file in a single SDDM theme, to no avail, and I realized: No one's doing this who isn't a developer themselves. No one is going to want to write blocks and blocks of code just to change a background image.

So yeah. I've learned a lot and I'm glad I did. It isn't that I don't see a use for it. I just don't see it as a viable daily driver for someone whose goal with #Linux is to make their system purely their own, because part of the NixOS philosophy is for it not to be.
Workers of the World