#nixos

gmodena's avatar
gmodena

@[email protected]

🚀 nix-flatpak v0.5.0 released! 🎉

Now you can install applications from flatpakref locations, and declare GPG key imports from file.

More details at github.com/gmodena/nix-flatpak

Happy flatpaking!

Zach Mitchell's avatar
Zach Mitchell

@[email protected]

Just a reminder that Planet is taking place on March 6-7th in Pasadena. The CFP is open and we'd love for you to submit a talk or workshop!

planetnix.com/

maralorn's avatar
maralorn

@[email protected]

On my way to Rapperswil to the hackathon for 24.11 vikunja.

TT_392's avatar
TT_392

@[email protected]

Any ways to have less headaches in nixos? Getting really tired of having to fix a whole bunch of stuff in my config everytime there is a new nixos update which I just need because I need a newer version of some random package like right now. When right now is a really bad moment to spend time on troubleshooting random stuff. This time it wasn't even a full version upgrade.

Is running the unstable branch any better?

Benedikt Ritter (he/him)'s avatar
Benedikt Ritter (he/him)

@[email protected]

Woop, woop! My PR to add the NextCloud News app to the list of apps curated in nixpkgs has been merged: github.com/NixOS/nixpkgs/pull/ And it looks like this will even make it into 24.11, which would be amazing! 🎉

Mike :nixos:'s avatar
Mike :nixos:

@[email protected]

I'm finally putting together a list of "getting started with " videos aimed at beginners to Nix.

I'd love any feedback, positive or negative on this!

youtube.com/playlist?list=PL4I

Ellyse's avatar
Ellyse

@[email protected]

Advent of Code with Nix (2019 day 2 part 2) - didn’t realise there was a part 2, so did it today!
This time we get to brute force a solution and shove it into the elf computer!
Click here for video: youtu.be/TBLH9i8qZj8

Benedikt Ritter (he/him)'s avatar
Benedikt Ritter (he/him)

@[email protected] · Reply to Benedikt Ritter (he/him)'s post

The git history of my nix config repository turned out to be really useful because I „documented“ one of the issues in a commit message: github.com/britter/nix-configu
Using the lazygit history search it was super easy to find this and remind myself of the issue.

emilia's avatar
emilia

@[email protected]

git bisecting on a broken package is kind of fun detective work ❤️

Nix & Rust Rhein-Neckar's avatar
Nix & Rust Rhein-Neckar

@[email protected]

We're finally planning our next :nixos: :lix_ice: meetup in , which will be set between the 12th and 19th December, celebrating our meetup's anniversay! 🎂 To make the schedule suitable for as many former participants as possible, we've set up a poll. We'll open the doors at 18:00 and start talks at 19:00. There will be Pizza for celebration. 🍕

cloud.korz.tech/apps/polls/s/F

jbz's avatar
jbz

@[email protected]

❄️ How to use Common Lisp on NixOS with C libraries - @honza

honza.pokorny.ca/2024/11/how-t

Jeezy's avatar
Jeezy

@[email protected]

A year on, this remains the single most most viewed technical post I've ever written

It provides a detailed overview of the most popular approaches to handling in configurations, complete with examples

It's still as relevant today as it was last year!

lgug2z.com/articles/handling-s

Paul Meyer's avatar
Paul Meyer

@[email protected]

Incremental builds in Nix and garnix

"[Garnix] approach is to make the derivations you want cached to output their cache (for instance in a separate output), and then to import a previous version of that derivation, and use the cached output from that version in the new one."

garnix.io/blog/incremental-bui

Paul Meyer's avatar
Paul Meyer

@[email protected]

Shortly after the branch off for the upcoming release of NixOS 24.11, there was quite a drop in the share of Go package sources that are vulnerable, compared to the last scan 3 months ago.

Report with all vulnerable packages can be found here: github.com/katexochen/govulnch

screenshot of the changed stats
screenshot of the changed stats
Ellyse's avatar
Ellyse

@[email protected]

New Let’s Learn Together video on using Nix to package existing software but with dependencies missing. This one was fun! click link here:
youtu.be/4Z78L8igmlk

Matthias's avatar
Matthias

@[email protected]

github.com/symphorien/nix-du this is a nice package. Thanks for writing it. It just helped me free up 100GB of disk space 😅

Paul Meyer's avatar
Paul Meyer

@[email protected]

NixOS Thaiger Sprint 2025 announced! A week of intense hacking on Nix in Thailand.
thaigersprint.org/

Multipath TCP's avatar
Multipath TCP

@[email protected]

#MPTCP is supported by all major GNU/Linux distributions 🐧 but mptcpd daemon 😈 (and mptcpize) is not packaged in some of them. Anybody willing to help packaging mptcpd in these distro, e.g. #AlpineLinux and #NixOS? 🙂

A new page on mptcp.dev now lists the Linux distributions: https://www.mptcp.dev/apps.html#linux-distributions
Mirko Lenz's avatar
Mirko Lenz

@[email protected]

For anyone wanting to add custom plugins/modules to on : @vbernat released a flake to do this via xcaddy in a fixed-output derivation. Switched to it on my server today and works perfectly! More details in his blog post:

vincent.bernat.ch/en/blog/2024

kupac^ESC:wq's avatar
kupac^ESC:wq

@[email protected]

I've just switched from Gogs to Forgejo on my local server. Thanks to it took me very little time to set it up, as all the configs have the same syntax, and packagers did a great job enabling all the necessary options.

Forgejo looks super mature, and migrating my repos was a breeze. it can even migrate issues, wikis etc. from a number of git hosting solutions, including the less popular ones (like Gogs). So far, the user experience is vastly improved. Happy Sunday!

Jana's avatar
Jana

@[email protected]

Yesterday I found the comin deployment tool for , which works on a pull model.
This is exactly what I had been looking for and it even has some cool features like test branches.

What I didn't anticipate is to immediately end up opening a PR to it, because it ended up not working with my editor / secret management due to newline characters :D

github.com/nlewo/comin/pull/58

Ellyse's avatar
Ellyse

@[email protected]

Hi all! OMG Last section of the Nix language tutorial, finally we finished! I wonder if this means I can put Nix on my LinkedIn profile yet?

Today we cover derivations and review some example Nix code
youtu.be/527eHLyybQE

Neo's avatar
Neo

@[email protected] · Reply to Neo's post

I made a proof of concept “works out of the box”, “batteries included” Linux based desktop OS, built using and but with flatpak support for easy installation of user applications and no knowledge of underlying Nix base OS required.
It’s simply called “deskOS”, anyone who’s interested can check it out at nixup.io/

I even had a EU edition in mind: files.nixup.io/desk-os/release

cafkafk's avatar
cafkafk

@[email protected]

ohh wow, surely the #nixos users are solving gender discrimination today

discourse notification about "30 replies Nix Community Survey 2024 Results: Gender distribution"
discourse notification about "30 replies Nix Community Survey 2024 Results: Gender distribution"
Jost :thisisfine: 🔥's avatar
Jost :thisisfine: 🔥

@[email protected]

If people near are interested in or , there is Nix Meetup planned for next Monday @netz39

Mon 11.11. - 7pm / 19 Uhr

Honnip's avatar
Honnip

@[email protected]

주말부터 모듈로 작성하고 있는데 어느 정도 마무리가 된 듯하다. 지금은 개발이 빠르게 진행되고 있어서 nixpkgs에 올리는 건 나중에 생각해 보는 걸로..

패키지: https://github.com/honnip/dotfiles/blob/3e52a09afc680ecaff6c0d7dfff414f507af3f8a/pkgs/hollo/default.nix 모듈: https://github.com/honnip/dotfiles/blob/3e52a09afc680ecaff6c0d7dfff414f507af3f8a/modules/nixos/hollo.nix

Sandro :nixos: :verified_gay:'s avatar
Sandro :nixos: :verified_gay:

@[email protected]

Our search deployment at search.nüschtos.de got quite a few new in the last days including nix-darwin, authentik-nix, crowdsec, lanzaboote, microvm.nix, nixos-hardware, nixos-wsl, simple-nixos-mailserver, sops-nix and tsnsrv.

What other popular flakes are we missing?

Benedikt Ritter (he/him)'s avatar
Benedikt Ritter (he/him)

@[email protected]

Ich war beim Softwerker Cast der codecentric AG zu Gast und habe dort über das Thema gesprochen. Hat Spaß gemacht, auch wenn 30 Minuten viel zu wenig für so ein Thema sind 😏 codecentric.de/podcast/softwer

Paul Meyer's avatar
Paul Meyer

@[email protected]

NixOS Steering Committee Election results are out!

Congrats to @winter @roberth @fpletz and the other (fediverse-less) winners.

github.com/NixOS/SC-election-2

Interesting the turnout is only (?) 56%, even after all the controversy of the last year.

Andrey Snow's avatar
Andrey Snow

@[email protected]

Should I do something useful or move my flake with all of my configurations from flake-parts to snowfall for absolutely no reason?

sydnoise's avatar
sydnoise

@[email protected]

The mercy of an employee applying to become a
Nix Steering Committee member 🤦‍♀️

Friendly Alien's avatar
Friendly Alien

@[email protected]

Is there a way in NixOS with home-manager to put a folder with space in it, for example:

home.file = {
".config/GitHub Desktop".source = ./apps/Github Desktop;
};

How do I make home-manager to "ignore" the space in the name of the folder?

Kurau's avatar
Kurau

@[email protected]

I published a new blog post, where I explain how I used disko and nixos-anywhere to provision a new machine at Hetzner Cloud that was previously running Debian.

kurau.tokyo/blog/using-disko-a

samueldr's avatar
samueldr

@[email protected]

So I ran the script that @kees adapted from @bagder 's initial concept on the older×biggest repo I still make use of.

(Side-note, It would be interesting to have an AST-aware equivalent that can guesstimate the age of the constructs, rather than the age the "source" stringy-based serialization, especially since it's likely some changes refreshed some line's age, but actually only changed part of its semantics, or nothing at all.)

I ran it on the release tags (in other words, the initial point in time a numbered release was marked stable).

It took a surprisingly long amount of time, but I did not change the implementation. Maybe there's some accidentally quadratic operation that could be made faster... But also this is a legitimately big git repo, and maybe the hours it spent on the last few tags were legitimate.

Anyways, #Nixpkgs and #NixOS peeps might like that.

Stratified graph of the age of lines of codes in Nixpkgs... There's growth, and stratas are visible It goes from 2003 to 2025, and from 0 lines of code to 5.0M.
Stratified graph of the age of lines of codes in Nixpkgs... There's growth, and stratas are visible It goes from 2003 to 2025, and from 0 lines of code to 5.0M.
cafkafk's avatar
cafkafk

@[email protected]

Just released nix-weather, a #rust cli-tool to check how many of your NixOS system’s build dependencies are in a binary cache.


$ nix-weather -n myhost -c /etc/config/
Found Nix Requisites in 8 seconds
Checked 2789 packages in 1 seconds
Found 2676/2789 (95.95%) in cache

This is useful to e.g. “check the weather” before going for an update. If the dependencies you want still haven’t been cached, it can be useful to know you can postpone an update to a later day when the weather is better on the cache.

Feel free to try it out from the GitHub mirror (it’s likely faster than my forgejo instance, and I’d appreciate saving the bandwidth).

https://github.com/cafkafk/nix-weather/releases/tag/v0.0.2

#nix #nixos

cafkafk's avatar
cafkafk

@[email protected]

babe wake up, I wrote about Helsing’s presence at Eurorust, winning their drone hackathon, and whether or not they’re just an “European Anduril” or a “good” defense company.

I also talk a bit about what this would mean for a Nix sponsorship policy, and what I think the Rust community can do.

And what’s the deal with Jon Gjengset suddenly working there?

https://cafkafk.dev/p/eurorust-2024-helsing/

#eurorust #eurorust2024 #nix #nixos

NixOS's avatar
NixOS

@[email protected]

There is a vulnerability in Nix 2.24.

If you're using the regular nix from nixpkgs (which the vast majority of users will be), you're still on a safe version. If you recently (after August 1st) installed nix using the nix (not NixOS) installers, or are using nixVersions.git from nixpkgs, then you need to double-check. Affected users are recommended to upgrade to version 2.24.6, which fixes the issue.

discourse.nixos.org/t/vulnerab
github.com/NixOS/nix/security/

NixOS's avatar
NixOS

@[email protected]

NixCon 2024 is here!

Ron Efroni giving a Nix State of the Union talk
Ron Efroni giving a Nix State of the Union talk
NixOS's avatar
NixOS

@[email protected]

After a great hack day, with the last NixCon attendees still hanging out in @cbase and across Berlin, NixCon 2024 is now really coming to an end. It was wonderful to see so many new and familiar faces.

Beady Belle Fanchannel's avatar
Beady Belle Fanchannel

@[email protected]

I kinda have an urge to add github.com/maralorn/nix-output to nixos-rebuild …

Jacek Γαλοwιcζ's avatar
Jacek Γαλοwιcζ

@[email protected]

🚀 NixCon 2024 Recap – A Community Thriving! 🚀

Proud to share my latest article on Heise c't online about NixCon 2024! This year’s event brought over 400 passionate developers, enthusiasts, and users together in Berlin, showcasing the diversity and growth of the Nix and NixOS community. From hands-on workshops to discussions on sustainable software, the excitement was palpable. Check out the article to dive into the highlights and see what’s next for the Nix ecosystem!

📖 Read more: heise.de/en/news/NixCon-2024-T

C.B.Leslie's avatar
C.B.Leslie

@[email protected]

` nix-store --gc --print-roots | grep "result"`, I love you.

Jake Hamilton's avatar
Jake Hamilton

@[email protected]

Hi everyone, I am now looking for full-time work! If you have a remote Software Engineer position available and work with web tech ( / / / / , etc), (or / ), , or / then please reach out! I love building tools to solve problems and delight users.

For examples of my previous work, links to my projects, and my resume, please see my website: jakehamilton.dev

Boosts very much appreciated!

Jenny :nixos:'s avatar
Jenny :nixos:

@[email protected]

(1/6) Ich muss mich jetzt mal über die Nix(OS)-Community aufregen, also um genau zu sein das Gatekeeping in dieser Community. Seit über 3 Jahren bin ich jetzt schon dabei und versuche auch schon so lange Contributions zu den nixpkgs zu machen, was aber nun mal faktisch nicht wirklich möglich ist, wenn man keine Committer persönlich kennt.

Paul Meyer's avatar
Paul Meyer

@[email protected]

The Nix/NixOS devroom at @fosdem was accepted, and the CfP is open! I'm really amazed to be part of the organization team this year.
Talks can be submitted until 2024-11-30.

discourse.nixos.org/t/nix-and-

Aires's avatar
Aires

@[email protected]

Running into a nixos-rebuild problem. If I run `nixos-rebuild switch --build-host [my server]`, it builds, but I get the error "sudo: a terminal is required to read the password". Running `nixos-rebuild build` on its own does work, and it doesn't ask for a password since my user's trusted. It's just the final step of switching/booting into the build that fails becaus of sudo.

I did a bunch of searching and tried a dozen different fixes, but none of them worked. The only thing that worked was creating a nixos-rebuild wrapper script that basically splits a single remote switch/boot into two separate commands: a remote build, and then a local switch/boot. Basically it looks for a "--build-host" flag, and if it finds one, it runs `nixos-rebuild build --build-host [blah]`, then runs `nixos-rebuild switch`. Here's what it looks like: github.com/8bitbuddhist/nix-co

I feel like there has to be a better way though. Anyone else run into this issue and find a less convoluted solution?

chfkch :nixos: :rust:'s avatar
chfkch :nixos: :rust:

@[email protected] · Reply to 0x17 :cch:'s post

@0x17 as much as i love , the most common place i search for stuff like this is the Wiki 😅

0x17 :cch:'s avatar
0x17 :cch:

@[email protected]

… next try to configure an the - I am confident. How do I connect to the WLAN again (with iw and wireless tools)? 😅

UConsole surrounded by cables, club mate and keyboards
UConsole surrounded by cables, club mate and keyboards
Paul Meyer's avatar
Paul Meyer

@[email protected]

I just voted in the Steering Committee Election 📥
If you are registered as voter but haven't yet, you can do so until Sun, 2024-11-03.

Paul Meyer's avatar
Paul Meyer

@[email protected]

Nice, status update from nixbuild.net! blog.nixbuild.net/posts/2024-1
Always happy to see those smaller Nix companies thrive.

To me docs.nixbuild.net/remote-build is still one of the best introductions to nix remote builds out there.

Friendly Alien's avatar
Friendly Alien

@[email protected]

Can somebody tell me please why when I install NixOS and put in a flake that I want to use unstable packages, and then I rebuild the whole system with flakes it doesn't automatically put me on unstable channel when I list the channel? Does channel even matter at this point?

Jake Hamilton's avatar
Jake Hamilton

@[email protected]

Portable Submodules for / /

kilo.bytesize.xyz/portable-sub

seth 🍃's avatar
seth 🍃

@[email protected]

I've been nominated for the first NixOS Steering Committee!

You can read my candidate form here, where I explain some of my goals, previous work, and motivation in running for this position. I also encourage everyone to check the issues of this repository, which is filled with some great questions from the community and responses by myself and my fellow candidates

I will be continuing this thread by highlighting some of the questions I find most important for this election 🧵

github.com/NixOS/SC-election-2

Jost :thisisfine: 🔥's avatar
Jost :thisisfine: 🔥

@[email protected]

I wrote a post about my switch from to , it contains a description of my favorite NixOS Tools as well.

If that's something that might interest you, give it a read and share your opinion if you want. :winkekatze:

alemann.dev/moving-to-nixos/

Stéphan Kochen's avatar
Stéphan Kochen

@[email protected] · Reply to Stéphan Kochen's post

I tend to compare the and communities a lot, because that is my bubble. Rust seems so incredibly on top of things, in comparison. Just the general way they understand social dynamics, and the way they communicate.

For example, there was an incident last year where Rust leadership had to make a public apology. I went back to read that, and there's no perfect way to do it, but it seems way better than how Nix is dealing with the Anduril controversy. blog.rust-lang.org/2023/05/29/

Stéphan Kochen's avatar
Stéphan Kochen

@[email protected]

Signed save-nix-together.org primarily because I'm concerned about the people I see leaving the community. We should be pulling more people in, not pushing people away.

NGI Zero open source funding's avatar
NGI Zero open source funding

@[email protected]

Hi there, happy to see you on the Fediverse! Interested in free and open source software or hardware, open standards etc? NGI Zero helps support digital commons through grants with low overhead. Our crew of @nlnet, @techcultivation, @fsfe @APC, , et al funds and supports amazing projects like @pixelfed, @interpeer, @Castopod, and many more)... Check out nlnet.nl/entrust & nlnet.nl/NGI0 - and help make the internet a better place!

Jeff Forcier's avatar
Jeff Forcier

@[email protected]

I'm on Mastodon! Here's a brief (though bitprophet.org/bio/ will be more in depth)!

🐍 Longtime developer & maintainer of various popular libraries (Fabric, Paramiko, Invoke, &c)
💻 Longtime () & engineer (so many distros, currently experimenting with )
😻 Owned by 2 (and grew up with )
🇺🇸🗽 Resident of
🌹🍞 Bit of a and who still votes when necessary
⚔️🚀 fan
& much more! ✨

Stéphan Kochen's avatar
Stéphan Kochen

@[email protected]

Making a pinned post. Hi everyone! 👋

I'm a software engineer in the Netherlands, working in entertainment. At work we build content management tools and real-time web apps, with me mostly being involved in the latter.

I do a lot of , , and . I also build stuff in my spare time, like castling.club, and contribute to open-source projects where I can.

Let's reclaim our internet using the fediverse! 💪

maralorn's avatar
maralorn

@[email protected]

Hey and people!

I wrote a matrix bot for nixpkgs pull request notifications.

It‘s like the cool https//nixpk.gs/tracker.html by @qyliss, which shows you which release channels a pull request has reached.

With the bot you can subscribe and get notifications, whenever it reaches a channel instead of hammering F5 in your browser tab.

Just open a query to matrix.to/#/@nixpkgs-bot:maral and send "help".

Looking forward to you all stress testing it!

Jake Hamilton's avatar
Jake Hamilton

@[email protected]

Hello Fediverse! I'm Jake, a Software Engineer that likes building cool, impactful things! I've written mostly JavaScript and TypeScript in my career and love , , and / .

Lately I've been working on Nix-related things at github.com/snowfallorg/

Thank you to the wonderful people at Hachyderm for having me here :)