So, yes, this is the first, actually, DEF CON talk on what's technically an official DEF CON stage about Nix. So, yeah, just to give some intro. Yeah. Give it up for Nix. So yeah, we're going to talk about the Nix ecosystem. This talk is called rebuild the world because that's kind of what Nix is trying to do. Nix is, well, it's a lot of things to a lot of people. Let's start with intro. So I'm Morgan Jones. Hi, I'm Thomas Breckney. You might know me as Tom Breck. I've been doing Nix stuff for more than a decade now. And probably have touched a lot of different portions of the ecosystem. And my main efforts these days have been to promulgate, promote the use of Nix throughout the world, industry, companies, organizations, people, and just trying to spread the good word. Hi, I'm Fareed. I don't professionally work on Nix, but I've used it not quite a decade, but over half a decade at least. And I'm an active contributor and I'm a pretty vocal, you know, critic and positive about Nix after having used it for so long. Yeah. And yeah, just a bit about myself. So I'm Morgan Jones. I'm a Nix packages committer and I've been working at Viasat on reproducible builds of various bits of software with Nix. And I've been using it for the past, I think eight or so years at this point. And yeah, I got into it for Raspberry Pi project in college and it's kind of just completely changed how I deploy Linux. So glad to have these guys on stage. All right. So let's kind of talk, let's talk, I guess the, so Nix is an ecosystem that has like three major components. There's Nix, the package manager and language. There's Nix packages, the package sets. There's Nix OS, the operating system. Can you guys kind of talk about like, what's the difference? Why should people care that there is a difference? Yeah. So the way I think about it is actually a little bit backwards than you might have in other, other like ecosystems or distros. So in this ecosystem, Nix, the package manager essentially came first. And the original idea was for it to be a package manager or a software distribution mechanism that would work anywhere. It would work on other distros. It would work on, you know, whatever like kernel or Unix flavor you were on and you would have a system that could reliably distribute software and move it around. Well, that came with some requirements. We had to actually like rebuild software. We had to have a way to like manage all these build recipes. Right. So that's where Nix packages came from. And then someone had this great idea of like, well, wait a minute , if I have a package manager, what if I make an OS? So then that's where like the OS as a distro came from. Which, you know, is good. A lot of people come to the ecosystem through the OS. But understanding that it originally came from that like package manager that can kind of coexist anywhere is important to keep in mind. Because it also highlights some of the big benefits you get out of it. Sorry, and the question was like, which of the three do you think ultimately is the most important to or? More like kind of what's the notable things that are important about each? Yeah, like the most important thing to me ultimately, and I touched on this on a talk earlier, is that there's a graph. I mean, you get this point sometimes where you learn Nix, where you come away with there was there's a class of problems everyone's facing that you don't have today. And I think we use the word packages , Nix, language operating, they're all like fancy words. And you could say just files like there was a there is still this fundamental problem where you cannot update a machine at the same, you can't deploy more than one file atomically prior to Nix. That is like one primitive you have. So it's like the series of primitives. And from that, you get all this cool stuff. And I think whichever avenue leads you to those primitives, whether it's the language, the operating system, the package manager, is just your in road into this ecosystem that's going to unlock tons of value. And it really doesn't matter which way you come in. So why not just use Docker? Oh, you're giving me eyes like you want to go. Sure. I have also a lot of you can go first. I have so much pain here. So in the ecosystem, Docker represents this point of, well, what if we do a bunch of things that make it easier for you to deploy software, but we have zero opinion about packaging. That's roughly kind of like the approach Docker took. Notably represented as like their Docker file. In your Docker file, you either copy in the binary you need directly or you piggyback on top of some other existing ecosystem in order to build up the environment that you need. So they took a very like hands off agnostic approach. We're not going to solve the packaging problem. What ended up happening is then I mean, that works. It works pretty well. It works very well as a leaf mechanism. And it created an amazing ecosystem of orchestration, like all the Kubernetes, the, you know, the cloud native ecosystem, like it's really good at like large scale runtime orchestration, but they have still dodged the problem of packaging. And effectively enough that it actually right now we have a less interest, less expertise of how to properly do packaging, because what's the point of packaging, right? It's to make software reusable in more places. That's why you package something. Otherwise, what would be the point? And let's say you like deploy a library of some kind or an SDK. Well, if you need your library or SDK used by other people, if you give it to them as a container, that's great and all, but what if that person now has to combine two different libraries or two different ecosystems, two different SDKs or three or four, right? Because you're gluing together a larger system and these things have to work together. You can't say, hey, from three different containers, smush them all together and now make them all work. You're very likely going to have problems. Because those aren't packages. That's something that Nix actually solves very well, which is say I can safely squish together three different distributions or three different software libraries or three different SDKs and have them safely be composed together and now glue together the larger system that I want. So it's not really why not use Docker. I mean, use Docker. It's great. It's awesome for orchestration, for final artifact delivery. There's all sorts of like support for it. But don't, it's not a packaging system. It's not a package ecosystem. It's not a configuration management ecosystem. It's an artifact distribution mechanism. So go ahead and use that and also Nix works well with it. You can use Nix to build your Docker containers. Those CI containers get split at the other end, use them, integrate with them. So I kind of don't see it as Nix versus Docker. I see it as Nix and Docker. But also please don't ask me to use a Docker image to develop in your project. Like the amount of complexity it adds, it's like you have to be in there's a PID namespace, a mount namespace, a network namespace. I want to debug your app, the application. Oh, wait, okay. You know, like, remember the port mapping, there's a NAT bridge, maybe open up on the host port. It's like, Nix boils that all away. I mean, people take on that complexity because they're trying to solve what sort of Nix gives you from the bottom up rather from the top down. And the one of the largest takeaways I think is the conflation between immutability and reproduction. So Docker is great in that it's immutable. The final image is like a golden image you can ship around and you get some amount of there's reproduction in the fact that you're shipping a final product. Like the master CD. But I'm sure many of us have had that experience where you go to change something in it and it breaks. And nothing about that experience is reproducible. And there's like tons of blog posts on like, well, this is how you make it reproducible. And you got to bolt on additional patterns. Like, you know, Nix is a little more complexity up front and then it gives you the rail guard so you don't need to do any of that. So I think that's like why not. If I wanted to give you a sales pitch on why not use Docker from that angle that would be the case. Actually I have another piece which was to switch the game around and using Nix inside of images. We actually see that if you look at the Docker debugger that Docker put out, it's using Nix inside the hood. We're seeing a lot of use cases where in limited run time environments people need a way to bring in additional packages to have users and clients customize them but in a way that's not going to destroy whatever the image itself is already doing. Well, what's a great way to bring in new packages to an ecosystem in a non-conflicting manner? That was the original use case for Nix. So we're seeing that example being used as well which is to start using it inside of containerization, virtualization, lightweight virtual machines and so forth. One of the kind of things that there was kind of a joke about Docker that someone made a while ago that was like, basically it was just Vim packaged with Docker. Like the entire Docker image was just to run Vim. And well, with Nix you can kind of do the same package granular like containers but not really containers but you don't have all the overhead of running a whole Linux system. On a related note, so let's talk kind of like SBOM stuff. So Nix, if we're rebuilding everything from the ground up and we don't have to deal with this kind of top-down problem of scanning images for what software they're using and all that stuff, if we actually have all the dependencies from the bottom up, how does Nix kind of change the game for knowing what goes into your software? I think having a view of your graph and a reliable way to understand all your dependencies is game changing from many angles like knowing the provenance of the code down to the commit of every particular piece of code as well as patches is a game changer. And I think people attach provenance to like versions. When I see someone, you know, I help a lot of friends, coworkers debug and they're like, you run hyphen hyphen version on a command. That is, feels, you know, and it's like, oh, incredibly granular to them. But a major, you know, even a minor version and semantic versioning, it's like, what is the commit at that level? And what is the commit at that level and what dependency did it take on? That level of specificity is huge in understanding like, are you vulnerable to certain CVEs, the provenance and supply chain trust for everything you're running? And those are the primitives you take to build a secure enclave for what you're running your machine on so you have a lot of reproduction and you know what you're running. So I would actually say that that specificity is actually a dual edge sort. It actually causes problems because that specificity is not the level that people who are managing, tracking for security vulnerabilities, they don't track to that level of specificity. They don't care about like, who's using NICs and what commit is this and what's this transit of that. Like, one, you know, we're not big enough yet for that. But also like, they're not doing that for other ecosystems either. They are doing it at that fuzzy level. So I think the ultimate outcome we're probably going to get to is like, we have really good S bombs today. We have them by construction. We actually start with making an S bomb super and then we use it to build our software. Right? Rather than the other way around. We don't just build the software and then go try to extract it all out. We actually started with that. So 20 years ago, we didn't call them S bombs, we called them derivations. But bad naming aside, that means we're correct by construction. Next thing we got to do now is actually weaken it. We now have to be able to create an S bomb that includes that ultra precise, you know, identifier. But we also need to have a really fuzzy identifier. The sort of identifier that, you know, the NBD folks, MITRE and all the security vendors are going to use, which is going to be something different. Something like a CPE , something like a package URL. And for the most part, we could probably get that out of Nix packages today . One of my call to actions I'd like to propose is let's fix up some of the places where it's not quite right. Add those fixes and now we can start generating not just hyper accurate S bombs but also usable ones that now can be given to any security vendor that will gladly ingest it, take the responsibility off of them for scanning and heuristics and managing the images and containers that just throw an S bomb at them, they'll send you alerts and updates and vulnerability information and all that stuff. And now you have really easy integration into like a lot of the corporate environment, a lot of the organizational environments. Because now you have like both the precision and integration. But there's an opportunity to scan the source. And I think like the gap here is oftentimes you want that course fidelity because you, I mean, nobody builds packages rarely from source in their pristine format. Every distribution adds some sort of patches to make it work with other package sets in that ecosystem. So you need having the ability to go to source and then do the analysis is incredibly factual. Like you know are you vulnerable to this CV because they might have already patched that CV but kept the version number. And the Nix S bomb lets you get the source exactly for every single package you've installed. And you one could follow and then audit the source and see if you're vulnerable. But I think like that's such a leap from where we are today that we're not there yet. But because yeah, a few other technologies offer that capability. So what I'm hearing is that we need to add a static analysis phase to standard ENV. Well, maybe not quite that. But you have to be able to do like all of these things. You have to be able to expose the power to go dig into source. You have to expose the power to understand the full graph. You have to be able to make this integratable. So while in theory from an academic perspective we're perfectly positioned and have these like amazing S bombs ready to go, the ecosystem needs a little bit more work to really like make them shine, right? We can't actually expose that power today as easily. So that needs a little bit of tooling. It needs integration. It needs like ecosystem improvements. But I mean, the potential is there. It just has to be realized. Yeah. And if any of you like have done source level analysis, you might be thinking, okay, I have this on our Linux distribution, Debian, Fedora, whatever base distribution. It's like somewhat true you do, but it's because there's a single package set and you can't really deviate from that. So they've solved that by really clamping down on the compatibility matrix story. They're saying these are the package sets you get only at these versions and you can work back to this golden package set and do all the analysis you'd like. Nick says you kind of get that and you can go off the rails and do whatever you want and still follow that chain of trust. So I think that's an important caveat. It's like, you know, one way to solve this, which we've done historically in the past is just limit the expressiveness that developers can do. And Nick says, no, go ham, go install any package you want, any version you want, any commit you want, and we'll, like, give you the tool set to still go to source if you need. Speaking of trust a little bit, can you guys talk about maybe, like, a couple things about Nick's trust model. Like if you're downloading packages from somewhere and substituting them as the term kind of is, what are you trusting? What is, what are you kind of assuming about where you're grabbing the packages and what packages they are? Yeah, so if you're just going through, like, an initial user, the way that trust model works is, well, we have a bit , the Nick's foundation runs a build farm, organizes, orchestrates it with something called Hydra and they will build all the packages get built from source and they get signed and they get pinned to a cache. That cache is a optimization. You can go rebuild all those yourself. You just turn off the substitutor and you will essentially rebuild the world. It will take a few hours depending on what it is that you're building because you are really going to go, like, all the way down the bootstrap and start, like, rebuilding everything. That's a great way to audit. That means auditability is right at your fingertips. But for practicality you want to substitute. And by default what you're trusting is that public key that is then signing everything that the build farm produces. If you work at a company, let's say you have a policy that you also have to rebuild from source, cool. You rebuild everything from source the way I just mentioned. You sign it with your own public key, public private key pair and then that's what you trust. And as long as the substitutor serves those up correctly with the signatures, then now you have assurance that you're getting your software from something that, you know, complies with your policy or whatever your thing happens to be. And Nix takes a lot of extra steps to be able to rebuild the world. Maybe not as much as, like, foundations like the Software Heritage Foundation. But rebuilding from source, just because you have the recipe set to do it, doesn't mean it still exists out there in the world. So that you have to take a lot of actions in place to cache sources, patches, works of art, so that you can go years later and rebuild things from source. So that is the promise Nix gives you only if the source exists. There's work streams by the Software Heritage Foundation where they're like, kind of like the Internet Archive, archiving the world alongside Nix. And they're using Nix here to do that. The Nix organization as well caches certain sources for you so that you can rebuild the world when necessary. Yeah, there's, there's like software bundles that have actually disappeared off the Internet. And they still exist in the Nix cache because they were part of some build, you know, 10 years ago. And that's where, like, they actually found one that oh, that actually matches the correct hashes that got locked in some of their lock file. I'd add to that too, there's an honorable mention for some people doing basically builds of old ham radio packages. I'm pretty sure that's Matthew Crowan's project. They're rebuilding just this ancient software where the amateur radio developer in question has either passed away or, you know, has is moving on and doing something else and the software is effectively abandoned, but they've gotten it working and like wine in a completely reproducible way, which is kind of amazing. Cool. So a little bit less kind of enterprise than S bombs. How did you guys get started with Nix out of curiosity? I'll start. Okay. It took a lot of attempts, a lot, a lot of attempts. So if you're listening to what we're saying, or you've attended any other Nix talks, or you've tried to learn Nix, and you're it's like way hidden your head. And, and it's in a pretty, it's a poor state of affairs, the documentation, I believe me, it was a lot worse, five years or seven years ago. And it was incredibly hard to learn. But the appeal was there. So if you're the type that you've hit all the same frustrations we might be talking about, in terms of reproduction, building software reliably, I take part in a lot of open source projects. And I was just frustrated, I couldn't get my tool set reliably, every time I'd revisit my project. Months later, I was like, I need to just spend the time here to learn it. And I did. And I think the strong benefit of Nix is it's got an incredibly vibrant community. And other people with that shared pain of it took me a long time to learn this. So they're willing to white glove you and and hand feed you that pill so that you will learn it. And I think that's okay. Some things can have a really easy on ramp to learn and some things need a little like, let me pill you in and get it because it's such a different shift. It's a seismic shift from how we build software today. So it deviates from you cannot lean on your decades of experience of like how software is built previously. So that seismic shift, sometimes you need that extra hand and that's okay. And so I was about like, 10 years ago, I was working for a company that got acquired by Google. And I was just frustrated with like, the onboarding experience was, here's a bunch of scripts in a readme , go run them. And the likelihood if every script is like 90% success rate, by the time you're like, 10 scripts in, it's like a 30% success rate that you're going to finish that workflow. So I was like, there has to be a better way. And I had to, you know, we had Mac and Linux developers, so you're like auditing what the scene is. And really fast, even about 2015, 16, Nix emerged as like a clear competitor that offered a solution. And that began my journey of curating a development experience for other developers at this company. I came to it, I came from the arch world, and I'm like, hey, I configured this, I broke my machine a few times, and then I fixed it, and I broke it again a few times. That's the story of how you learn Linux. I also came from the Haskell world, so I was already kind of interested in the functional programming paradigm. And then basically just came across Nix at one point, and then what I discovered were super powers. I discovered a set of super powers of being able to move software around, get it working, have it be reliable, have those scripts, even if they fail half the time, at least when they failed, they didn't pollute something. I can go fix them and now not have to start over from the beginning. I found ways to distribute software, to build it, to test it. Built hardware in the loop testing that incorporated these sorts of ideas into like the process, and I found myself just to be way, way more productive. I could run circles around, you know, similar developers who were struggling with, well, oh, my cross compiling tool chain is installed here, and then I broke my machine, I have to rebuild my VM, oh, that SDK is on my other laptop. All those problems kind of went away. It took some expertise and time, but at this point I've got Stockholm syndrome and I can't think of another way or a better way. So this is for me the way. And I'm trying to bring these super powers to the world. Make them so they're not super powers, they're just regular powers that you get. Imagine, you know, before the world, before the age of version control, right, we solved our problems. It was painful. Today we would call it painful, but now we have a super power. We have version control. Same way, like, I have a super power and I'm just trying to kind of bring it to the world and make it available to all. That's going to require improvements, UX improvements, developer experience improvements. I'm working for a company that's, you know, trying to make it easier for non‑X experts to just leverage these super powers. How do we make it so we get more adoption, more integration with other vendors. The whole S‑bomb conversation is really about integration with security vendors. So that's kind of where I came to it was super powers, capabilities, things like that. Well, and we all have these super powers, but many of us use them to just work on like home labs too and deploy things like jelly fin or, you know, various, like, open source softwares that we run in our home labs. I assume you guys use Nix for your home labs. Where are you guys running? Yeah, I think one of the, like, I know we're all AI crazy. I've been having this thought that, I don't want to shill this company too much, but I've been thinking like GitHub code search has been more monumental to me in the past decade than LLMs. Although LLMs, you know, just started. So they might supersede that. You'll see where I'm going with this. Is that having a declarative way for my infrastructure, my home labs, I run two pies, my laptop. There's like some crazy super power that I can browse other people's setups. I was talking to some people here at Nix Vegas. I'm like, oh, you have a cool NeoVim setup. I can just right click, copy like a little snippet and get it exactly on my machine. And browsing everyone's source online and picking what I want, like going shopping and getting, oh, I'd love this and that, where you can't do that when it's an imperative step by step line, because they're likely forgetting the 50 other steps they had to do before that. Install some users or whatever. And nobody really saves their scripts like that anyways, because they run it once and they forget about it. So like code searching and building my infra and my laptop, I've like improved my own developer experience, you know, two orders of magnitude, done it reliably. And it's been fun to like rediscover new tools and people's setups that I'd never do before. So yeah, that's my little story. I used to host, I think, a lot more. I do have like a home lab that was more involved in the past. And sometimes I do more, sometimes less. What I like about tracking all that stuff in a Nix -like way is, well, I can go, oh, I got some new hardware, I'm gonna spin up that thing I had a few years ago. And it spins up. Hey, I might update this or update that. And now it's like I never left it. So I don't have to be so worried about like keeping it alive or the care and feeding of it. I can just be like, oh, I'm going to be busy for, you know, a little while because of, you know, life and family and kids and vacations and who knows what. And I'll be like, oh, the hardware breaks or whatever. Cool. I'll get another piece of hardware, you know, next month and then hook it all up, run up the same, you know, infrastructure that I had already defined declaratively and I'm back to the races. I've done this a few times and actually sometimes forgot that I had changed the underlying hardware. I had these situations where like, oh, wait a minute, that's right, I changed it. But because the config was just rolled right over, it was seamless. So that's another aspect of it is being able to have things declarative means you're a bit more immune from some of these underlying concerns. I've got one to add on to that. I updated three systems from 2411 to 2505 the night before DEF CON started and they still work. So clearly that counts for something. Yeah. There's an amount of joy, too, that I think I never had before in systems before NixOS. And that joy is also like running the exact same laptop as someone else. So I bought a framework laptop and me and my buddy both bought at the same time and we decided to run the exact same config. So on my laptop is his user. He, you know, I'll tell you why he has a user because we run WireGuard and he can SSH into my laptop. That's also been hilarious. So he's got his user. He's got all his applications. It's a bit, you know, it's a few extra gigs because he's never going to run. He uses, let's say, Brave and I never run that. I use Chrome. I've got all of these. So I have his whole profile on my laptop. He's got his whole profile, my profile on his laptop. Sometimes he just SSHs in because he sees me on like the, you know, our private VPN and he sends me something on the wall. And anytime he fixes something, I get it. Anytime I fix something, he gets it. And there's just something fun. Like computers stop being fun for a little bit. And with NixOS it's fun because I think what Tom said, you can go explore. If I mess something up and it breaks his computer, he doesn't care. He can roll back or wait a little bit before he accepts my patch and vice versa. And someone else, I converted a few other people to frameworks and I'm like, use our config. Start with that. And they're running the exact same thing. And it's kind of like a wild idea. And you kind of see it popping up a little bit now with these like, I see people like Amarchi is really popular. And it's like you're running these, people want just like an off the shelf prebuilt solution. And Nix kind of gives you that with this, with a lot stronger guarantees because you're not running bash scripts to set, well, you are running bash scripts to set at all. They're managed bash scripts. They're managed bash scripts. For your collaborative computing environments. Yeah. Nix makes bash scripts immortal. Yeah. But it's fun. It's like, I wouldn't be here talking to you all about Nix if like, I didn't feel joy and like, joy. It's like a weird emotion to be feeling again after a while. But it's, it's, yeah. I mean, we've got, by the way, that thing right over there. You guys know what that is. That is our binary cache server, actually. And it has two, actually three, like ampere ultra nodes configured the exact same way and just got it here. Nginx filled over to the other one. But I mean, it's kind of a similar thing. Like you can configure machines the exact same way and just reproduce that config on another machine. And I mean, yeah, you can do that from like, you know, very small cloud hosts to very large machines like that one. Yeah. I mean, once you take that step towards managing like a few things, then you can start, hey, I want to go manage 100 machines. I want to scale up, I want to scale down. You now have a way of doing that in a very controllable, very understandable, very distributable manner. So if you ever need to do like scale up, either, you know, I did this one time for like training purposes, right? We were supporting, you know, the training of a new model, you know, run a bunch of data, run a bunch of nodes. Well, I have a way to manage and distribute software to a lot of nodes in a very reliable, dependable way. Ready, set, go. And whether that number was two or 200 or 2000, kind of didn't matter to me. That was just a matter of a big enough credit card to support the cost. What sort of uses would you guys think that Nix has for like red teams or CTF players possibly? Like, does this model do you think change anything for how people like play cyber games, basically? So I said in the early in the beginning, right, Nix makes software that can coexist in lots of places. Well, that seems to be a primary need for a lot of people who are doing CTF type work. And maybe you do maybe you recompile everything not to be at slash Nix slash store. Maybe you put it to be slash, you know, my fun tools slash store or wherever you want to put it. Slash temp slash store. Slash temp slash store. Excellent, right? There's all sorts of good stuff you can do. Yeah, we got a question . The question is, do we have an alternative to Kali? There is someone that I forgot the name of it. Someone did start putting together essentially a call the Athena. Is it called Athena? Okay, Athena OS. So someone did put together like a port of a bunch of the similar sorts of tools and things and almost all of them are there. I forgot how complete it was. But I think it's a Nix packages overlay. So again, it can coexist with an existing Nix OS installed just fine. Or I mean, you can also install it on Kali. Yeah. So these ideas are really good for if you're like a, you know, you're doing some sort of thing, you want to make software that is kind of independent from the host. You don't want to necessarily have to live off the land. Sometimes you can if you need to. But sometimes you want to be able to like not interfere with what's out there. And so this provides you a way of doing that. Nothing out there. That was great. Cool. Yeah, let's open it up for questions. We already had one. Anyone burning to know anything about Nix, the ecosystem, the tool set, anything? Yep. Let's repeat the question. Yeah. So the question is, like, what what was the inflection point? There's a lot more recent interest right now. And where's the inflection point coming that like has caused that? Um, I give my take on it is software has become more and more complex. And there's been far more interest in supply chain security. And people are kind of realizing that the like Docker container approach kind of just kicked the can down the road a little bit. So I think that inflection point actually got delayed because of the like the rise of containers. But it was it was on its way either way. And so now we have this, like, rising interest. You know, we're starting to get back to the realm of software where we're gluing together lots of different systems. So now we're gluing together like agents, we're getting like ecosystems, the other like Python for this, but I'm using go for my like systems deployment. And I've got like, you know, rest stuff I need for my performance things. And how do I glue all this software together? How do we make it all work together? And then how do I do that in a way that is still trackable and manageable? How do I give people developer environments, for example, and make them work? I think these all these things are driving more and more Nix interest. And, you know, we were kind of like sitting there ready to go, right to give people what the thing that they needed, even though they didn't know what it was called, or like, you know what it was, but a little bit of exposure, a little bit of understanding of how Nix works, all of a sudden people kind of pattern match like, yep, that's the thing I'm looking for. And I think that's led to a lot of that inflection point growth. Yeah, I think the being burned by Docker for especially project builds. Yeah, that's got a there's probably some chart if you can like graph sentiment there. And there's, I'm seeing still like many people interested in it coming from the personal projects, like local development thing. They never even make it past building the software that they're using. Let's say they're building project A, they never make it to the past for project A can build with Nix. They're just using Nix to pull in what they need. And then they build it the whatever the the normal way they normally do. So they're not even going end to end with Nix that is like exploded. And I think that continues to be the predominant way people are being like introduced and using Nix right now. Yeah, we, we see a lot of interest in adoption right now on the Nix OS side. So being able to like manage like your OS. Other one would be like home manager, people managing like like a dot files configuring their like Vim RCs and Neo Vim and such like that. People wanting to try out stuff, people want to try out things like Wayland and Sway and things like that. And we provide a kind of an easier, less damaging way to try stuff out. That's driven some interest. And then the yeah, the developer experience as well of like, oh, well, I now need to orchestrate 10 different open source projects. Well, you know what, if five of them already have like some Nix files in there, I have a bit more confidence I can actually go do some useful development and contribute usefully without like completely having my host be destroyed by some random script that they need. And you need a starting mass. And I think 20 pre 2015, they're just a like Nix fundamentally worked, but had a lot of gaps. And you need it like there is an there is a inflection point where the community is large enough fix it fixes enough of the other software like software has to be fixed to also work in the Nix paradigm. So if software is has conventions where they're looking for default libraries or whatever, that stuff all has to be patched away, like otherwise it doesn't work. So there is a, it's like the endless yak shave where you're getting things to work with Nix. And people don't, they don't want to go start using a technology if the first thing you have to do is start the yak shave themselves. They're like, I just want the largest package set and start installing things. And that's where we are today. So the community put in a lot of time to fix everything to set up patterns. So all that stuff's mostly taken care of. And if it's not, there's like well established paths on how to do that. You know, when I joined, there was like some really rough edges and also some, you know, like paper cuts that would get you. Surprising paper cuts. And it's just like a nonstop grind to get those down where now you have everything available. It works super smooth. And it's highly reliable and reproducible. And yeah, so shout out to the community because you know, we did that. Speaking of which, anything on the road map? We got one more over here. Let's do that. The question is, what is our workflow for contributing to Nix packages? I do, I do a lot of reviews these days. So Nix packages review. There's a tool that basically does the workflow for you. It builds any of like the required downstream things for your thing and makes it easy to like post results and merge them and stuff like that. If it's something more involved, let's say as I'm working on like a NixOS module or something like that, then you know, the story changes a little bit. But just for simple like package version bumps, Nix packages review is awesome. I put stuff out there. If it gets merged, that's great. If it doesn't, I'll wait for DEF CON 34 and get Morgan to do it next year. Otherwise, you know, Merge before my lunch. Yeah, yeah. Or tomorrow at noon also get some stuff merged. But that's about it. So if I hear the question right, it was about what's the plans on security? Yeah, so the it's in reference to the XZ vulnerability. Actually, interestingly enough, we were not vulnerable to the XZ change due to some of these some of these things. Um, well, I mean, a piece of it is that the way we build our software kind of helps mitigate some of the supply chain problems. But another thing is that it just makes it also more visible. So visibility into potential problems is essentially the first step into security. Next steps for like ecosystem wide security is stuff like, you know, the SBOM things we talked about. It's about kind of I want to get get more funding into the like security team, have that be like a bit more of a robust thing. We have kind of new tools coming out to be able to track security vulnerabilities over time. The STF sovereign tech fund is helping fund some of that stuff. We have other efforts like the fixed output derivation Oracle , the FOD Oracle, that's doing things like making sure that upstream source dependencies don't change out from under us. So there's a there's a lot of efforts that these core primitives allow us to do. And so honestly, we just need, you know, more people interested, more people who can kind of dedicate, you know, some time into, you know, productionizing these things and making them more robust. So I'd say a lot of great potential to make good security improvements. And we always need more help. So if anyone's interested with any of these things, please contact us and we'll kind of point you in the right direction. But there's no way Nix solves the XZ supply chain trial. Like, if you're taking in source, and we don't, we still take in source, and we build that source, and that source has a backdoor, that is fundamentally nothing like goes away because you build it from source. So I like the idea of like, it's oversight, it's visibility. You have a lot of active members looking at that source and highly cognizant of like, what's going on on their systems. And that level of like fidelity breeds that type of like introspection. But I don't want to sell like an overly secure posture here that like no way that could have happened to us. It is so easy to get things into like a lot of packages. I mean, and that was a highly sophisticated attack where the source was, you know, like highly obfuscated, single maintainer, which we now know is like any package said, if you go, I bet if we audit it, this is just me putting my thumb in the air. Like a double digit amount of packages on Nix packages are single authored. So I think there's also like a reckoning of open source and understanding the type of source we take on and the risk tolerance that's there. So I think that's, we've started attaching meta tags to there isn't that sort of requirement now, but at least the packages and you can audit your system, what type of provenance they have. So there's source binary, there's like a handful of different types. I don't know if like, there could be a new meta tag that this source has all its commits GPG verified, right? Does that also solve the exit again? No, like the author was probably signed their commits, you know, they but again, like the ability to specify that on a nodes and it takes away some risk vectors, right? Nothing's going to anyone that sells you some solution that says it's all risk vectors gone, as just meant you're running no software, which is also okay. Analog is great. And I love analog solutions, but it's a totally different problem set. Honorable mention to NixOS system D unit hardening, there actually has been a lot of work into various people trying to lock down system D units for running services. So they only have access to what they need to have access to. There's I think there's a project out there that basically tries a bunch of the options with system D unit hardening until the service stops breaking. So yeah. Yep. Another question? The question is why is everything system D? Because it works. Pragmatic. We I mean, we could do something else. But at the moment, that's what was used. But if there's I know there have been some efforts to try to make it a little bit more agnostic so we can have non system D back ends. I know that some people have also done using Nix to build non NixOS OS's that don't use system D. So that's also possible. But at the moment, the the NixOS distribution is system D based. Yes. Anything on the roadmap? Yeah, I actually wanted to mention something about so on the steering committee, we're kind of developing working on a like overall roadmap. And some of the theme of this thing or the kind of the idea behind it is to have like Nix everywhere, right or have featherweight Nix or we're kind of figuring out what the messaging is. But the idea is kind of like the CTF question from before, like, we want to be able to have, you know, Nix Nix based software run in as many different ways in context as possible. So this can mean stuff like, hey, let's get it working on Windows. Let's make it easier to work inside of Docker. Let's make it easier to work as a standalone tool. What if when you ran cargo build, what really happened is they called into a lib Nix library under the hood, the user has no idea this is going on, but other package managers are calling and using our sandboxing mechanisms, using our store mechanisms or caching mechanisms, which are actually quite robust. And like those get used, make it easier to just like grab a static binary, and like use this in kind of other weird places and embedded devices. What if you're in medical hardware? What if you're going to be on a Raspberry Pi? These sorts of things. So basically how can we get Nix used in as many contexts as possible? Because that's kind of also our strong suit, right? Once you start defining a package set, once you start defining derivations, being able to move them around to different architectures and OSs is one of our superpowers. And so if this kind of general theme or direction is of interest or you've got ideas on like where to take this or how to showcase this, we need some feedback. Let us know as to like, you know, how will this kind of road map fit into either your interest or your plans? And yeah, contact us afterwards or email or just yell at me really loud. What's going on with flakes? So flake stabilization is essentially the biggest hurdle there is fetch tree. Once we get fetch tree kind of like set to go, the big hurdle there is actually get reproducibility. Get reproducibility with smudging and all sorts of kind of nuances with some modules and other like get weirdnesses actually meant that things were not reproducible even though you wanted them to be. With fetch tree stabilize, there are not too many hurdles to getting flakes stabilized. There's like some like command line stuff. There's a few little things with air free. It's actually done a lot of work recently on that. Thank you very much. So it just it takes effort. Right now we don't have anyone full time really working on it. So another thing that we need is just contribution. So if you're interested in developing Nix, any C++ experts out there? Woo! Okay, maybe not. But if you care enough to do some C++ work, again, please let me know. And that's another place where we can use some help. Can I share some thoughts too really quickly? I was a very long holdout for this thing called flakes. Extremely long. I feel like I just gave up and I was like, I'm going to use it. And I think there's validity in that because software is a community. And it's written by authors. And the authors of this software suite have decided they like this thing, and they want to keep pushing it forward. And I think there's, there's some truth that as the authors and maintainers of that they see a vision for where they want to go. And I was like, you know, I gotta, I've liked everything they've produced thus far. So I'm going to trust in the final vision. I still have a little hesitation, like I don't really know what it bought me. But that's where the ongoing investments going. And I want and kind of mentioned that's where I'm spending my time to make it better and contribute to it. So that's like my also addendum to flakes. Actually, to the question from beforehand about the inflection point, I think flakes actually were one of the reasons for growing interest, because they do make it a lot easier to like kind of have a personalized thing to reproduce it, it locks things down nicely and pins things. So I think if you look at a lot of the the recent adoptees of Nix, they tend to be people who are far more coming at it from a flake perspective. So I think that has also helped the inflection point. Flakes or the fancy CLI? It might have been the fancy CLI. Sure. Okay. All right, we have two minutes. One last question. Yes . Yeah, so the question is, you have dead CISNICs that has kind of stepped ahead and done a lot more about like saying, hey, flakes are stable and doing other things. That's, you know, there's the potential there of divergence from upstream. And then how do we deal with that? In some sense, the way I see that is, hey, they're, they're testing the waters. So they're testing the waters, and they're kind of making sure that like that actually provides value, if they're going to run into problems, perhaps sooner, or run into some adoption issues in different ways. And that actually helps. So a lot of the changes that dead CISNICs is doing is also being kind of PR back into upstream. Some are not, it depends on like what that actual change is. But I think overall, it just helps push us along. It's a forcing function, just like any other fork that would kind of, you know, force us to get our act together. So I'm actually in some sense in favor of that. But you'd have to be careful a little bit. And, you know, it's a that's open source. Okay, I think the community it solves itself. They're moving it forward. If it's a positive addition, and it's pulling everyone there. That makes sense. And we're all going to use it. And if people don't want to pay for it, they'll probably clone it or like copy it and do the open source variant. If it's not a worthwhile addition, and it's only useful to a subset of enterprise customers and not the like hundreds of thousands or whatever size of community that uses Nix, it probably won't be relied on as a feature in Nix packages. So, you know, I kind of welcome capitalist markets to improve the state of Nix and we'll kind of reap it back into the open source implementation of the best parts. Thank you guys.