WEBVTT

00:00.000 --> 00:08.800
So, yes, this is the first, actually, DEF CON talk on what's technically an official DEF CON stage about Nix.

00:09.040 --> 00:11.220
So, yeah, just to give some intro.

00:11.220 --> 00:11.680
Yeah.

00:11.880 --> 00:13.360
Give it up for Nix.

00:16.440 --> 00:19.180
So yeah, we're going to talk about the Nix ecosystem.

00:19.180 --> 00:23.180
This talk is called rebuild the world because that's kind of what Nix is trying to do.

00:24.100 --> 00:28.500
Nix is, well, it's a lot of things to a lot of people.

00:28.920 --> 00:29.980
Let's start with intro.

00:29.980 --> 00:31.440
So I'm Morgan Jones.

00:31.460 --> 00:34.520
Hi, I'm Thomas Breckney.

00:34.520 --> 00:36.440
You might know me as Tom Breck.

00:36.440 --> 00:39.880
I've been doing Nix stuff for more than a decade now.

00:40.020 --> 00:43.740
And probably have touched a lot of different portions of the ecosystem.

00:44.080 --> 00:56.780
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.

00:57.860 --> 00:59.140
Hi, I'm Fareed.

00:59.140 --> 01:07.880
I don't professionally work on Nix, but I've used it not quite a decade, but over half a decade at least.

01:07.880 --> 01:17.680
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.

01:17.960 --> 01:18.420
Yeah.

01:18.780 --> 01:20.900
And yeah, just a bit about myself.

01:20.900 --> 01:23.020
So I'm Morgan Jones.

01:23.120 --> 01:33.040
I'm a Nix packages committer and I've been working at Viasat on reproducible builds of various bits of software with Nix.

01:33.080 --> 01:36.820
And I've been using it for the past, I think eight or so years at this point.

01:37.600 --> 01:47.760
And yeah, I got into it for Raspberry Pi project in college and it's kind of just completely changed how I deploy Linux.

01:47.760 --> 01:49.960
So glad to have these guys on stage.

01:50.580 --> 01:51.100
All right.

01:51.100 --> 02:00.540
So let's kind of talk, let's talk, I guess the, so Nix is an ecosystem that has like three major components.

02:00.540 --> 02:03.080
There's Nix, the package manager and language.

02:03.080 --> 02:05.600
There's Nix packages, the package sets.

02:05.900 --> 02:07.600
There's Nix OS, the operating system.

02:07.600 --> 02:10.680
Can you guys kind of talk about like, what's the difference?

02:10.700 --> 02:13.340
Why should people care that there is a difference?

02:15.520 --> 02:16.060
Yeah.

02:16.200 --> 02:23.520
So the way I think about it is actually a little bit backwards than you might have in other, other like ecosystems or distros.

02:24.100 --> 02:29.800
So in this ecosystem, Nix, the package manager essentially came first.

02:29.880 --> 02:38.540
And the original idea was for it to be a package manager or a software distribution mechanism that would work anywhere.

02:38.540 --> 02:40.660
It would work on other distros.

02:40.780 --> 02:50.260
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.

02:50.500 --> 02:51.860
Well, that came with some requirements.

02:51.860 --> 02:54.200
We had to actually like rebuild software.

02:54.200 --> 02:56.820
We had to have a way to like manage all these build recipes.

02:56.820 --> 02:57.000
Right.

02:57.000 --> 02:58.940
So that's where Nix packages came from.

02:59.020 --> 03:04.640
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?

03:04.640 --> 03:08.000
So then that's where like the OS as a distro came from.

03:08.620 --> 03:10.020
Which, you know, is good.

03:10.280 --> 03:13.640
A lot of people come to the ecosystem through the OS.

03:14.020 --> 03:20.560
But understanding that it originally came from that like package manager that can kind of coexist anywhere is important to keep in mind.

03:20.560 --> 03:23.960
Because it also highlights some of the big benefits you get out of it.

03:26.660 --> 03:32.180
Sorry, and the question was like, which of the three do you think ultimately is the most important to or?

03:32.180 --> 03:36.480
More like kind of what's the notable things that are important about each?

03:37.180 --> 03:45.920
Yeah, like the most important thing to me ultimately, and I touched on this on a talk earlier, is that there's a graph.

03:45.920 --> 03:55.580
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.

03:55.920 --> 04:01.000
And I think we use the word packages , Nix, language operating, they're all like fancy words.

04:01.000 --> 04:13.380
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.

04:13.380 --> 04:15.560
That is like one primitive you have.

04:15.560 --> 04:17.560
So it's like the series of primitives.

04:17.820 --> 04:20.380
And from that, you get all this cool stuff.

04:20.500 --> 04:35.480
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.

04:35.480 --> 04:37.920
And it really doesn't matter which way you come in.

04:38.900 --> 04:40.620
So why not just use Docker?

04:41.840 --> 04:46.240
Oh, you're giving me eyes like you want to go.

04:46.240 --> 04:46.660
Sure.

04:46.660 --> 04:48.620
I have also a lot of you can go first.

04:48.620 --> 04:50.040
I have so much pain here.

04:50.060 --> 05:02.080
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.

05:02.240 --> 05:05.040
That's roughly kind of like the approach Docker took.

05:05.360 --> 05:08.440
Notably represented as like their Docker file.

05:08.440 --> 05:20.160
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.

05:20.160 --> 05:23.020
So they took a very like hands off agnostic approach.

05:23.020 --> 05:25.240
We're not going to solve the packaging problem.

05:25.740 --> 05:29.400
What ended up happening is then I mean, that works.

05:29.400 --> 05:30.720
It works pretty well.

05:30.720 --> 05:33.500
It works very well as a leaf mechanism.

05:33.620 --> 05:48.920
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.

05:49.480 --> 05:59.360
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?

05:59.360 --> 06:02.540
It's to make software reusable in more places.

06:02.580 --> 06:04.140
That's why you package something.

06:04.140 --> 06:06.060
Otherwise, what would be the point?

06:06.580 --> 06:13.660
And let's say you like deploy a library of some kind or an SDK.

06:13.880 --> 06:29.160
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,

06:29.160 --> 06:29.660
right?

06:29.660 --> 06:34.500
Because you're gluing together a larger system and these things have to work together.

06:34.500 --> 06:41.020
You can't say, hey, from three different containers, smush them all together and now make them all work.

06:41.020 --> 06:43.340
You're very likely going to have problems.

06:43.400 --> 06:45.260
Because those aren't packages.

06:45.660 --> 07:01.380
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.

07:01.580 --> 07:05.600
So it's not really why not use Docker.

07:05.600 --> 07:06.380
I mean, use Docker.

07:06.380 --> 07:06.780
It's great.

07:06.780 --> 07:10.540
It's awesome for orchestration, for final artifact delivery.

07:10.760 --> 07:13.100
There's all sorts of like support for it.

07:13.300 --> 07:16.040
But don't, it's not a packaging system.

07:16.260 --> 07:17.780
It's not a package ecosystem.

07:17.780 --> 07:19.980
It's not a configuration management ecosystem.

07:20.080 --> 07:23.160
It's an artifact distribution mechanism.

07:23.740 --> 07:26.420
So go ahead and use that and also Nix works well with it.

07:26.420 --> 07:28.840
You can use Nix to build your Docker containers.

07:28.920 --> 07:33.780
Those CI containers get split at the other end, use them, integrate with them.

07:33.780 --> 07:36.940
So I kind of don't see it as Nix versus Docker.

07:36.940 --> 07:38.600
I see it as Nix and Docker.

07:39.900 --> 07:45.540
But also please don't ask me to use a Docker image to develop in your project.

07:45.780 --> 07:53.820
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.

07:53.820 --> 07:56.180
I want to debug your app, the application.

07:56.180 --> 07:57.160
Oh, wait, okay.

07:57.160 --> 08:02.560
You know, like, remember the port mapping, there's a NAT bridge, maybe open up on the host port.

08:02.860 --> 08:06.440
It's like, Nix boils that all away.

08:06.440 --> 08:14.860
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.

08:15.500 --> 08:22.060
And the one of the largest takeaways I think is the conflation between immutability and reproduction.

08:22.500 --> 08:24.840
So Docker is great in that it's immutable.

08:24.860 --> 08:33.660
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.

08:33.660 --> 08:35.620
Like the master CD.

08:35.720 --> 08:40.420
But I'm sure many of us have had that experience where you go to change something in it and it breaks.

08:40.640 --> 08:43.180
And nothing about that experience is reproducible.

08:43.180 --> 08:47.560
And there's like tons of blog posts on like, well, this is how you make it reproducible.

08:47.560 --> 08:50.180
And you got to bolt on additional patterns.

08:50.760 --> 08:58.280
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.

08:58.460 --> 09:00.940
So I think that's like why not.

09:00.940 --> 09:05.460
If I wanted to give you a sales pitch on why not use Docker from that angle that would be the case.

09:06.400 --> 09:13.240
Actually I have another piece which was to switch the game around and using Nix inside of images.

09:13.580 --> 09:20.740
We actually see that if you look at the Docker debugger that Docker put out, it's using Nix inside the hood.

09:20.760 --> 09:35.800
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.

09:35.800 --> 09:40.480
Well, what's a great way to bring in new packages to an ecosystem in a non-conflicting manner?

09:40.480 --> 09:42.780
That was the original use case for Nix.

09:42.780 --> 09:51.300
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.

09:51.300 --> 10:01.980
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.

10:01.980 --> 10:05.320
Like the entire Docker image was just to run Vim.

10:05.480 --> 10:17.660
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.

10:20.040 --> 10:24.420
On a related note, so let's talk kind of like SBOM stuff.

10:24.580 --> 10:46.480
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?

10:48.420 --> 11:10.740
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.

11:10.740 --> 11:13.300
And I think people attach provenance to like versions.

11:13.300 --> 11:20.500
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.

11:20.500 --> 11:26.320
That is, feels, you know, and it's like, oh, incredibly granular to them.

11:27.120 --> 11:32.580
But a major, you know, even a minor version and semantic versioning, it's like, what is the commit at that level?

11:32.580 --> 11:37.520
And what is the commit at that level and what dependency did it take on?

11:38.240 --> 11:48.720
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?

11:48.760 --> 11:58.600
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.

12:01.830 --> 12:06.490
So I would actually say that that specificity is actually a dual edge sort.

12:06.490 --> 12:18.150
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.

12:18.150 --> 12:25.070
They don't care about like, who's using NICs and what commit is this and what's this transit of that.

12:25.070 --> 12:27.430
Like, one, you know, we're not big enough yet for that.

12:27.430 --> 12:30.230
But also like, they're not doing that for other ecosystems either.

12:30.230 --> 12:32.730
They are doing it at that fuzzy level.

12:33.110 --> 12:39.710
So I think the ultimate outcome we're probably going to get to is like, we have really good S bombs today.

12:39.710 --> 12:41.330
We have them by construction.

12:41.330 --> 12:48.630
We actually start with making an S bomb super and then we use it to build our software.

12:48.830 --> 12:49.130
Right?

12:49.130 --> 12:50.090
Rather than the other way around.

12:50.090 --> 12:53.050
We don't just build the software and then go try to extract it all out.

12:53.070 --> 12:54.630
We actually started with that.

12:54.630 --> 12:59.250
So 20 years ago, we didn't call them S bombs, we called them derivations.

12:59.410 --> 13:04.290
But bad naming aside, that means we're correct by construction.

13:05.490 --> 13:08.270
Next thing we got to do now is actually weaken it.

13:08.730 --> 13:15.650
We now have to be able to create an S bomb that includes that ultra precise, you know, identifier.

13:15.650 --> 13:18.170
But we also need to have a really fuzzy identifier.

13:18.170 --> 13:26.870
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.

13:26.870 --> 13:29.690
Something like a CPE , something like a package URL.

13:30.370 --> 13:34.270
And for the most part, we could probably get that out of Nix packages today .

13:35.070 --> 13:42.510
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.

13:42.990 --> 14:01.150
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,

14:01.150 --> 14:05.610
they'll send you alerts and updates and vulnerability information and all that stuff.

14:05.610 --> 14:11.530
And now you have really easy integration into like a lot of the corporate environment, a lot of the organizational environments.

14:11.550 --> 14:16.130
Because now you have like both the precision and integration.

14:16.450 --> 14:19.470
But there's an opportunity to scan the source.

14:19.470 --> 14:32.950
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.

14:32.950 --> 14:39.370
Every distribution adds some sort of patches to make it work with other package sets in that ecosystem.

14:39.630 --> 14:48.290
So you need having the ability to go to source and then do the analysis is incredibly factual.

14:48.330 --> 14:53.550
Like you know are you vulnerable to this CV because they might have already patched that CV but kept the version number.

14:54.170 --> 15:04.910
And the Nix S bomb lets you get the source exactly for every single package you've installed.

15:05.050 --> 15:11.590
And you one could follow and then audit the source and see if you're vulnerable.

15:11.810 --> 15:18.630
But I think like that's such a leap from where we are today that we're not there yet.

15:18.630 --> 15:21.890
But because yeah, a few other technologies offer that capability.

15:21.890 --> 15:25.750
So what I'm hearing is that we need to add a static analysis phase to standard ENV.

15:28.770 --> 15:30.590
Well, maybe not quite that.

15:30.590 --> 15:33.510
But you have to be able to do like all of these things.

15:33.510 --> 15:36.570
You have to be able to expose the power to go dig into source.

15:36.570 --> 15:39.730
You have to expose the power to understand the full graph.

15:39.730 --> 15:41.710
You have to be able to make this integratable.

15:42.730 --> 15:56.370
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?

15:56.370 --> 16:00.150
We can't actually expose that power today as easily.

16:00.150 --> 16:01.390
So that needs a little bit of tooling.

16:01.390 --> 16:02.670
It needs integration.

16:03.170 --> 16:05.410
It needs like ecosystem improvements.

16:05.770 --> 16:07.770
But I mean, the potential is there.

16:07.770 --> 16:09.570
It just has to be realized.

16:10.310 --> 16:11.070
Yeah.

16:11.070 --> 16:22.410
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.

16:22.750 --> 16:29.570
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.

16:29.570 --> 16:34.170
So they've solved that by really clamping down on the compatibility matrix story.

16:34.170 --> 16:42.890
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.

16:43.050 --> 16:49.290
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.

16:49.650 --> 16:52.030
So I think that's an important caveat.

16:52.030 --> 17:01.250
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.

17:01.250 --> 17:11.290
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.

17:13.310 --> 17:21.370
Speaking of trust a little bit, can you guys talk about maybe, like, a couple things about Nick's trust model.

17:21.370 --> 17:30.330
Like if you're downloading packages from somewhere and substituting them as the term kind of is, what are you trusting?

17:30.330 --> 17:36.630
What is, what are you kind of assuming about where you're grabbing the packages and what packages they are?

17:39.140 --> 17:59.620
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.

17:59.680 --> 18:02.080
That cache is a optimization.

18:02.720 --> 18:04.480
You can go rebuild all those yourself.

18:04.480 --> 18:08.420
You just turn off the substitutor and you will essentially rebuild the world.

18:08.860 --> 18:16.280
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.

18:16.680 --> 18:17.920
That's a great way to audit.

18:17.920 --> 18:20.300
That means auditability is right at your fingertips.

18:20.560 --> 18:22.700
But for practicality you want to substitute.

18:22.820 --> 18:29.980
And by default what you're trusting is that public key that is then signing everything that the build farm produces.

18:29.980 --> 18:35.200
If you work at a company, let's say you have a policy that you also have to rebuild from source, cool.

18:35.200 --> 18:37.900
You rebuild everything from source the way I just mentioned.

18:37.900 --> 18:42.880
You sign it with your own public key, public private key pair and then that's what you trust.

18:42.980 --> 18:56.380
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.

18:57.100 --> 19:00.880
And Nix takes a lot of extra steps to be able to rebuild the world.

19:00.880 --> 19:04.900
Maybe not as much as, like, foundations like the Software Heritage Foundation.

19:05.160 --> 19:13.220
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.

19:13.260 --> 19:24.420
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.

19:24.420 --> 19:28.320
So that is the promise Nix gives you only if the source exists.

19:28.780 --> 19:36.220
There's work streams by the Software Heritage Foundation where they're like, kind of like the Internet Archive, archiving the world alongside Nix.

19:36.220 --> 19:39.420
And they're using Nix here to do that.

19:39.440 --> 19:49.280
The Nix organization as well caches certain sources for you so that you can rebuild the world when necessary.

19:49.960 --> 19:54.880
Yeah, there's, there's like software bundles that have actually disappeared off the Internet.

19:54.940 --> 19:59.920
And they still exist in the Nix cache because they were part of some build, you know, 10 years ago.

19:59.960 --> 20:07.320
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.

20:08.320 --> 20:16.440
I'd add to that too, there's an honorable mention for some people doing basically builds of old ham radio packages.

20:16.440 --> 20:18.660
I'm pretty sure that's Matthew Crowan's project.

20:19.060 --> 20:35.460
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,

20:35.460 --> 20:36.820
which is kind of amazing.

20:39.380 --> 20:40.100
Cool.

20:40.100 --> 20:45.140
So a little bit less kind of enterprise than S bombs.

20:45.140 --> 20:48.080
How did you guys get started with Nix out of curiosity?

20:50.140 --> 20:51.220
I'll start.

20:51.300 --> 20:51.940
Okay.

20:53.660 --> 20:57.200
It took a lot of attempts, a lot, a lot of attempts.

20:57.200 --> 21:06.100
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.

21:06.460 --> 21:15.660
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.

21:15.840 --> 21:18.160
And it was incredibly hard to learn.

21:18.160 --> 21:19.600
But the appeal was there.

21:19.600 --> 21:30.420
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.

21:30.960 --> 21:37.080
And I was just frustrated, I couldn't get my tool set reliably, every time I'd revisit my project.

21:38.160 --> 21:43.120
Months later, I was like, I need to just spend the time here to learn it.

21:43.120 --> 21:43.780
And I did.

21:43.780 --> 21:48.620
And I think the strong benefit of Nix is it's got an incredibly vibrant community.

21:48.620 --> 21:54.760
And other people with that shared pain of it took me a long time to learn this.

21:54.760 --> 22:01.240
So they're willing to white glove you and and hand feed you that pill so that you will learn it.

22:01.240 --> 22:02.140
And I think that's okay.

22:02.140 --> 22:12.020
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.

22:12.020 --> 22:14.740
It's a seismic shift from how we build software today.

22:15.260 --> 22:21.840
So it deviates from you cannot lean on your decades of experience of like how software is built previously.

22:22.160 --> 22:27.740
So that seismic shift, sometimes you need that extra hand and that's okay.

22:27.740 --> 22:33.660
And so I was about like, 10 years ago, I was working for a company that got acquired by Google.

22:33.660 --> 22:39.660
And I was just frustrated with like, the onboarding experience was, here's a bunch of scripts in a readme , go run them.

22:39.980 --> 22:49.860
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.

22:50.160 --> 22:52.460
So I was like, there has to be a better way.

22:53.260 --> 22:59.320
And I had to, you know, we had Mac and Linux developers, so you're like auditing what the scene is.

22:59.460 --> 23:09.760
And really fast, even about 2015, 16, Nix emerged as like a clear competitor that offered a solution.

23:09.760 --> 23:15.820
And that began my journey of curating a development experience for other developers at this company.

23:18.640 --> 23:27.320
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.

23:27.320 --> 23:29.160
That's the story of how you learn Linux.

23:29.860 --> 23:34.980
I also came from the Haskell world, so I was already kind of interested in the functional programming paradigm.

23:35.860 --> 23:42.200
And then basically just came across Nix at one point, and then what I discovered were super powers.

23:43.940 --> 23:57.280
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.

23:57.280 --> 24:00.460
I can go fix them and now not have to start over from the beginning.

24:01.840 --> 24:05.560
I found ways to distribute software, to build it, to test it.

24:06.140 --> 24:15.780
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.

24:16.560 --> 24:29.460
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.

24:29.460 --> 24:32.240
All those problems kind of went away.

24:32.240 --> 24:39.000
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.

24:39.160 --> 24:41.260
So this is for me the way.

24:41.400 --> 24:44.260
And I'm trying to bring these super powers to the world.

24:44.260 --> 24:48.760
Make them so they're not super powers, they're just regular powers that you get.

24:48.840 --> 24:55.540
Imagine, you know, before the world, before the age of version control, right, we solved our problems.

24:55.540 --> 24:56.400
It was painful.

24:56.400 --> 24:59.300
Today we would call it painful, but now we have a super power.

24:59.300 --> 25:00.660
We have version control.

25:00.920 --> 25:08.200
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.

25:09.100 --> 25:15.260
That's going to require improvements, UX improvements, developer experience improvements.

25:15.260 --> 25:22.720
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.

25:23.440 --> 25:28.100
How do we make it so we get more adoption, more integration with other vendors.

25:28.100 --> 25:32.540
The whole S‑bomb conversation is really about integration with security vendors.

25:33.620 --> 25:40.220
So that's kind of where I came to it was super powers, capabilities, things like that.

25:40.940 --> 25:55.320
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.

25:56.020 --> 25:57.840
I assume you guys use Nix for your home labs.

25:57.840 --> 25:58.780
Where are you guys running?

26:00.160 --> 26:03.360
Yeah, I think one of the, like, I know we're all AI crazy.

26:03.360 --> 26:15.180
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.

26:15.180 --> 26:17.160
Although LLMs, you know, just started.

26:17.160 --> 26:18.160
So they might supersede that.

26:18.160 --> 26:19.820
You'll see where I'm going with this.

26:19.820 --> 26:25.860
Is that having a declarative way for my infrastructure, my home labs, I run two pies, my laptop.

26:26.800 --> 26:31.200
There's like some crazy super power that I can browse other people's setups.

26:31.200 --> 26:34.060
I was talking to some people here at Nix Vegas.

26:34.060 --> 26:36.800
I'm like, oh, you have a cool NeoVim setup.

26:36.860 --> 26:43.820
I can just right click, copy like a little snippet and get it exactly on my machine.

26:44.020 --> 27:01.480
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.

27:01.480 --> 27:03.500
Install some users or whatever.

27:03.580 --> 27:09.020
And nobody really saves their scripts like that anyways, because they run it once and they forget about it.

27:09.200 --> 27:20.140
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.

27:20.140 --> 27:26.620
And it's been fun to like rediscover new tools and people's setups that I'd never do before.

27:26.640 --> 27:28.920
So yeah, that's my little story.

27:30.000 --> 27:32.760
I used to host, I think, a lot more.

27:32.760 --> 27:35.600
I do have like a home lab that was more involved in the past.

27:35.740 --> 27:38.120
And sometimes I do more, sometimes less.

27:38.300 --> 27:47.740
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.

27:47.760 --> 27:49.240
And it spins up.

27:49.240 --> 27:50.920
Hey, I might update this or update that.

27:50.920 --> 27:52.260
And now it's like I never left it.

27:52.260 --> 27:57.100
So I don't have to be so worried about like keeping it alive or the care and feeding of it.

27:57.100 --> 28:04.220
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.

28:04.220 --> 28:06.680
And I'll be like, oh, the hardware breaks or whatever.

28:06.920 --> 28:07.420
Cool.

28:07.420 --> 28:17.940
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.

28:18.260 --> 28:22.780
I've done this a few times and actually sometimes forgot that I had changed the underlying hardware.

28:22.960 --> 28:26.840
I had these situations where like, oh, wait a minute, that's right, I changed it.

28:26.840 --> 28:31.880
But because the config was just rolled right over, it was seamless.

28:31.980 --> 28:40.080
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.

28:40.640 --> 28:42.300
I've got one to add on to that.

28:42.300 --> 28:48.840
I updated three systems from 2411 to 2505 the night before DEF CON started and they still work.

28:49.040 --> 28:51.380
So clearly that counts for something.

28:51.380 --> 28:51.860
Yeah.

28:51.920 --> 28:56.560
There's an amount of joy, too, that I think I never had before in systems before NixOS.

28:57.000 --> 29:01.340
And that joy is also like running the exact same laptop as someone else.

29:01.340 --> 29:08.700
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.

29:08.800 --> 29:11.180
So on my laptop is his user.

29:11.380 --> 29:17.540
He, you know, I'll tell you why he has a user because we run WireGuard and he can SSH into my laptop.

29:17.540 --> 29:19.360
That's also been hilarious.

29:19.360 --> 29:20.700
So he's got his user.

29:20.780 --> 29:22.480
He's got all his applications.

29:22.640 --> 29:25.980
It's a bit, you know, it's a few extra gigs because he's never going to run.

29:25.980 --> 29:28.840
He uses, let's say, Brave and I never run that.

29:28.840 --> 29:30.240
I use Chrome.

29:31.020 --> 29:31.800
I've got all of these.

29:31.800 --> 29:34.140
So I have his whole profile on my laptop.

29:34.140 --> 29:37.380
He's got his whole profile, my profile on his laptop.

29:37.640 --> 29:44.260
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.

29:44.260 --> 29:46.620
And anytime he fixes something, I get it.

29:46.620 --> 29:48.860
Anytime I fix something, he gets it.

29:48.860 --> 29:50.760
And there's just something fun.

29:50.760 --> 29:53.840
Like computers stop being fun for a little bit.

29:54.040 --> 29:57.680
And with NixOS it's fun because I think what Tom said, you can go explore.

29:57.680 --> 30:00.900
If I mess something up and it breaks his computer, he doesn't care.

30:00.900 --> 30:06.800
He can roll back or wait a little bit before he accepts my patch and vice versa.

30:06.860 --> 30:12.340
And someone else, I converted a few other people to frameworks and I'm like, use our config.

30:12.340 --> 30:13.380
Start with that.

30:13.380 --> 30:15.000
And they're running the exact same thing.

30:15.000 --> 30:17.480
And it's kind of like a wild idea.

30:18.000 --> 30:23.560
And you kind of see it popping up a little bit now with these like, I see people like Amarchi is really popular.

30:23.560 --> 30:28.640
And it's like you're running these, people want just like an off the shelf prebuilt solution.

30:28.640 --> 30:36.680
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.

30:36.820 --> 30:38.320
They're managed bash scripts.

30:38.320 --> 30:39.780
They're managed bash scripts.

30:39.780 --> 30:41.780
For your collaborative computing environments.

30:41.780 --> 30:42.080
Yeah.

30:42.080 --> 30:44.020
Nix makes bash scripts immortal.

30:44.020 --> 30:44.460
Yeah.

30:44.460 --> 30:45.520
But it's fun.

30:45.520 --> 30:51.200
It's like, I wouldn't be here talking to you all about Nix if like, I didn't feel joy and like, joy.

30:51.200 --> 30:54.360
It's like a weird emotion to be feeling again after a while.

30:55.360 --> 30:57.160
But it's, it's, yeah.

30:57.160 --> 31:00.300
I mean, we've got, by the way, that thing right over there.

31:00.420 --> 31:01.940
You guys know what that is.

31:02.760 --> 31:04.900
That is our binary cache server, actually.

31:04.900 --> 31:11.560
And it has two, actually three, like ampere ultra nodes configured the exact same way and just got it here.

31:12.040 --> 31:14.020
Nginx filled over to the other one.

31:15.320 --> 31:17.240
But I mean, it's kind of a similar thing.

31:17.240 --> 31:22.380
Like you can configure machines the exact same way and just reproduce that config on another machine.

31:24.340 --> 31:31.920
And I mean, yeah, you can do that from like, you know, very small cloud hosts to very large machines like that one.

31:33.260 --> 31:33.840
Yeah.

31:33.980 --> 31:41.820
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.

31:41.820 --> 31:43.660
I want to scale up, I want to scale down.

31:43.660 --> 31:48.980
You now have a way of doing that in a very controllable, very understandable, very distributable manner.

31:49.120 --> 31:55.360
So if you ever need to do like scale up, either, you know, I did this one time for like training purposes, right?

31:55.360 --> 32:01.840
We were supporting, you know, the training of a new model, you know, run a bunch of data, run a bunch of nodes.

32:01.920 --> 32:09.140
Well, I have a way to manage and distribute software to a lot of nodes in a very reliable, dependable way.

32:09.140 --> 32:10.100
Ready, set, go.

32:10.140 --> 32:16.700
And whether that number was two or 200 or 2000, kind of didn't matter to me.

32:16.700 --> 32:20.260
That was just a matter of a big enough credit card to support the cost.

32:23.760 --> 32:29.600
What sort of uses would you guys think that Nix has for like red teams or CTF players possibly?

32:29.620 --> 32:37.060
Like, does this model do you think change anything for how people like play cyber games, basically?

32:38.000 --> 32:44.820
So I said in the early in the beginning, right, Nix makes software that can coexist in lots of places.

32:45.420 --> 32:50.700
Well, that seems to be a primary need for a lot of people who are doing CTF type work.

32:51.020 --> 32:54.920
And maybe you do maybe you recompile everything not to be at slash Nix slash store.

32:54.920 --> 32:59.940
Maybe you put it to be slash, you know, my fun tools slash store or wherever you want to put it.

32:59.940 --> 33:00.880
Slash temp slash store.

33:00.880 --> 33:02.020
Slash temp slash store.

33:02.020 --> 33:02.920
Excellent, right?

33:02.920 --> 33:05.280
There's all sorts of good stuff you can do.

33:05.760 --> 33:07.420
Yeah, we got a question .

33:13.600 --> 33:15.960
The question is, do we have an alternative to Kali?

33:16.600 --> 33:18.980
There is someone that I forgot the name of it.

33:18.980 --> 33:22.280
Someone did start putting together essentially a call the Athena.

33:22.280 --> 33:23.360
Is it called Athena?

33:23.360 --> 33:24.420
Okay, Athena OS.

33:24.420 --> 33:31.280
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.

33:32.000 --> 33:33.620
I forgot how complete it was.

33:33.620 --> 33:35.540
But I think it's a Nix packages overlay.

33:35.540 --> 33:39.100
So again, it can coexist with an existing Nix OS installed just fine.

33:39.320 --> 33:42.140
Or I mean, you can also install it on Kali.

33:42.140 --> 33:43.060
Yeah.

33:44.060 --> 33:53.360
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.

33:53.360 --> 33:56.420
You don't want to necessarily have to live off the land.

33:56.420 --> 33:57.820
Sometimes you can if you need to.

33:57.820 --> 34:02.420
But sometimes you want to be able to like not interfere with what's out there.

34:03.200 --> 34:06.000
And so this provides you a way of doing that.

34:08.960 --> 34:09.800
Nothing out there.

34:09.800 --> 34:10.680
That was great.

34:13.790 --> 34:14.670
Cool.

34:15.910 --> 34:17.470
Yeah, let's open it up for questions.

34:17.470 --> 34:18.810
We already had one.

34:18.930 --> 34:23.310
Anyone burning to know anything about Nix, the ecosystem, the tool set, anything?

34:24.450 --> 34:25.090
Yep.

34:44.870 --> 34:46.150
Let's repeat the question.

34:46.150 --> 34:46.350
Yeah.

34:46.350 --> 34:49.970
So the question is, like, what what was the inflection point?

34:49.970 --> 34:51.750
There's a lot more recent interest right now.

34:51.750 --> 34:55.510
And where's the inflection point coming that like has caused that?

34:57.390 --> 35:03.170
Um, I give my take on it is software has become more and more complex.

35:03.370 --> 35:07.130
And there's been far more interest in supply chain security.

35:07.510 --> 35:15.390
And people are kind of realizing that the like Docker container approach kind of just kicked the can down the road a little bit.

35:15.430 --> 35:20.470
So I think that inflection point actually got delayed because of the like the rise of containers.

35:21.630 --> 35:24.370
But it was it was on its way either way.

35:24.390 --> 35:28.010
And so now we have this, like, rising interest.

35:28.690 --> 35:34.710
You know, we're starting to get back to the realm of software where we're gluing together lots of different systems.

35:34.930 --> 35:42.470
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.

35:42.590 --> 35:45.790
And I've got like, you know, rest stuff I need for my performance things.

35:45.790 --> 35:47.570
And how do I glue all this software together?

35:47.570 --> 35:49.170
How do we make it all work together?

35:49.330 --> 35:52.710
And then how do I do that in a way that is still trackable and manageable?

35:53.890 --> 35:58.190
How do I give people developer environments, for example, and make them work?

35:58.190 --> 36:03.050
I think these all these things are driving more and more Nix interest.

36:03.670 --> 36:17.730
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,

36:17.730 --> 36:21.590
all of a sudden people kind of pattern match like, yep, that's the thing I'm looking for.

36:21.590 --> 36:24.330
And I think that's led to a lot of that inflection point growth.

36:25.250 --> 36:29.750
Yeah, I think the being burned by Docker for especially project builds.

36:29.750 --> 36:34.250
Yeah, that's got a there's probably some chart if you can like graph sentiment there.

36:34.710 --> 36:44.630
And there's, I'm seeing still like many people interested in it coming from the personal projects, like local development thing.

36:44.630 --> 36:50.950
They never even make it past building the software that they're using.

36:50.950 --> 36:56.070
Let's say they're building project A, they never make it to the past for project A can build with Nix.

36:56.070 --> 36:58.670
They're just using Nix to pull in what they need.

36:58.810 --> 37:03.450
And then they build it the whatever the the normal way they normally do.

37:03.510 --> 37:07.690
So they're not even going end to end with Nix that is like exploded.

37:07.690 --> 37:14.590
And I think that continues to be the predominant way people are being like introduced and using Nix right now.

37:17.130 --> 37:22.170
Yeah, we, we see a lot of interest in adoption right now on the Nix OS side.

37:22.290 --> 37:25.130
So being able to like manage like your OS.

37:25.810 --> 37:33.090
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.

37:33.310 --> 37:38.650
People wanting to try out stuff, people want to try out things like Wayland and Sway and things like that.

37:38.650 --> 37:42.990
And we provide a kind of an easier, less damaging way to try stuff out.

37:43.470 --> 37:45.050
That's driven some interest.

37:45.330 --> 37:51.990
And then the yeah, the developer experience as well of like, oh, well, I now need to orchestrate 10 different open source projects.

37:52.030 --> 38:05.550
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.

38:05.770 --> 38:07.450
And you need a starting mass.

38:07.450 --> 38:15.130
And I think 20 pre 2015, they're just a like Nix fundamentally worked, but had a lot of gaps.

38:15.590 --> 38:28.430
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.

38:28.910 --> 38:39.210
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.

38:39.210 --> 38:44.710
So there is a, it's like the endless yak shave where you're getting things to work with Nix.

38:44.890 --> 38:50.830
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.

38:50.830 --> 38:54.430
They're like, I just want the largest package set and start installing things.

38:54.430 --> 38:55.730
And that's where we are today.

38:55.850 --> 39:00.530
So the community put in a lot of time to fix everything to set up patterns.

39:00.530 --> 39:03.370
So all that stuff's mostly taken care of.

39:03.370 --> 39:07.250
And if it's not, there's like well established paths on how to do that.

39:07.510 --> 39:15.870
You know, when I joined, there was like some really rough edges and also some, you know, like paper cuts that would get you.

39:15.890 --> 39:17.130
Surprising paper cuts.

39:17.130 --> 39:23.150
And it's just like a nonstop grind to get those down where now you have everything available.

39:23.150 --> 39:24.830
It works super smooth.

39:25.170 --> 39:27.790
And it's highly reliable and reproducible.

39:28.930 --> 39:32.090
And yeah, so shout out to the community because you know, we did that.

39:32.670 --> 39:34.750
Speaking of which, anything on the road map?

39:34.790 --> 39:36.110
We got one more over here.

39:36.110 --> 39:36.810
Let's do that.

39:38.010 --> 39:46.530
The question is, what is our workflow for contributing to Nix packages?

39:47.270 --> 39:49.430
I do, I do a lot of reviews these days.

39:49.430 --> 39:50.750
So Nix packages review.

39:50.810 --> 39:54.070
There's a tool that basically does the workflow for you.

39:54.070 --> 40:02.950
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.

40:03.730 --> 40:11.210
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.

40:11.210 --> 40:15.470
But just for simple like package version bumps, Nix packages review is awesome.

40:16.790 --> 40:18.450
I put stuff out there.

40:18.450 --> 40:20.690
If it gets merged, that's great.

40:20.690 --> 40:25.190
If it doesn't, I'll wait for DEF CON 34 and get Morgan to do it next year.

40:26.150 --> 40:28.230
Otherwise, you know, Merge before my lunch.

40:28.230 --> 40:29.210
Yeah, yeah.

40:29.210 --> 40:32.330
Or tomorrow at noon also get some stuff merged.

40:32.330 --> 40:33.550
But that's about it.

40:44.390 --> 40:48.370
So if I hear the question right, it was about what's the plans on security?

40:57.800 --> 41:00.880
Yeah, so the it's in reference to the XZ vulnerability.

41:00.960 --> 41:09.160
Actually, interestingly enough, we were not vulnerable to the XZ change due to some of these some of these things.

41:09.200 --> 41:17.120
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.

41:17.260 --> 41:20.240
But another thing is that it just makes it also more visible.

41:20.240 --> 41:25.380
So visibility into potential problems is essentially the first step into security.

41:26.180 --> 41:32.220
Next steps for like ecosystem wide security is stuff like, you know, the SBOM things we talked about.

41:32.780 --> 41:40.640
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.

41:41.080 --> 41:45.400
We have kind of new tools coming out to be able to track security vulnerabilities over time.

41:46.340 --> 41:50.200
The STF sovereign tech fund is helping fund some of that stuff.

41:50.760 --> 41:59.860
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.

41:59.980 --> 42:03.900
So there's a there's a lot of efforts that these core primitives allow us to do.

42:04.180 --> 42:14.620
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.

42:14.920 --> 42:19.240
So I'd say a lot of great potential to make good security improvements.

42:19.420 --> 42:20.840
And we always need more help.

42:20.840 --> 42:27.440
So if anyone's interested with any of these things, please contact us and we'll kind of point you in the right direction.

42:27.660 --> 42:32.760
But there's no way Nix solves the XZ supply chain trial.

42:32.760 --> 42:46.600
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.

42:46.740 --> 42:50.960
So I like the idea of like, it's oversight, it's visibility.

42:51.140 --> 42:59.720
You have a lot of active members looking at that source and highly cognizant of like, what's going on on their systems.

42:59.720 --> 43:03.720
And that level of like fidelity breeds that type of like introspection.

43:04.080 --> 43:11.260
But I don't want to sell like an overly secure posture here that like no way that could have happened to us.

43:15.040 --> 43:18.640
It is so easy to get things into like a lot of packages.

43:18.760 --> 43:32.940
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.

43:33.520 --> 43:38.060
Like a double digit amount of packages on Nix packages are single authored.

43:38.060 --> 43:48.060
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.

44:06.170 --> 44:16.270
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.

44:16.290 --> 44:19.690
So there's source binary, there's like a handful of different types.

44:19.690 --> 44:27.830
I don't know if like, there could be a new meta tag that this source has all its commits GPG verified, right?

44:27.830 --> 44:29.330
Does that also solve the exit again?

44:29.330 --> 44:41.050
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?

44:41.050 --> 44:50.210
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.

44:50.210 --> 44:51.750
Analog is great.

44:51.970 --> 44:56.370
And I love analog solutions, but it's a totally different problem set.

44:56.610 --> 45:07.190
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.

45:07.190 --> 45:09.870
So they only have access to what they need to have access to.

45:09.950 --> 45:17.210
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.

45:17.850 --> 45:19.590
So yeah.

45:19.590 --> 45:20.110
Yep.

45:20.110 --> 45:21.130
Another question?

45:22.770 --> 45:27.650
The question is why is everything system D?

45:28.410 --> 45:29.810
Because it works.

45:29.990 --> 45:30.870
Pragmatic.

45:31.170 --> 45:33.690
We I mean, we could do something else.

45:33.910 --> 45:36.190
But at the moment, that's what was used.

45:36.190 --> 45:44.130
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.

45:44.130 --> 45:53.210
I know that some people have also done using Nix to build non NixOS OS's that don't use system D.

45:53.210 --> 45:54.570
So that's also possible.

45:54.670 --> 45:58.790
But at the moment, the the NixOS distribution is system D based.

45:58.790 --> 45:59.450
Yes.

46:03.430 --> 46:05.130
Anything on the roadmap?

46:05.130 --> 46:13.470
Yeah, I actually wanted to mention something about so on the steering committee, we're kind of developing working on a like overall roadmap.

46:13.750 --> 46:24.230
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.

46:24.230 --> 46:34.250
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.

46:34.470 --> 46:37.990
So this can mean stuff like, hey, let's get it working on Windows.

46:37.990 --> 46:40.530
Let's make it easier to work inside of Docker.

46:40.530 --> 46:43.630
Let's make it easier to work as a standalone tool.

46:43.630 --> 46:58.830
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,

46:58.830 --> 47:00.710
which are actually quite robust.

47:00.910 --> 47:10.610
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.

47:10.610 --> 47:12.530
What if you're in medical hardware?

47:12.530 --> 47:15.090
What if you're going to be on a Raspberry Pi?

47:15.650 --> 47:16.670
These sorts of things.

47:16.670 --> 47:20.630
So basically how can we get Nix used in as many contexts as possible?

47:20.630 --> 47:23.030
Because that's kind of also our strong suit, right?

47:23.030 --> 47:31.390
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.

47:31.750 --> 47:40.650
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.

47:40.650 --> 47:47.970
Let us know as to like, you know, how will this kind of road map fit into either your interest or your plans?

47:48.210 --> 47:53.690
And yeah, contact us afterwards or email or just yell at me really loud.

47:57.260 --> 47:59.120
What's going on with flakes?

47:59.920 --> 48:06.400
So flake stabilization is essentially the biggest hurdle there is fetch tree.

48:07.100 --> 48:13.380
Once we get fetch tree kind of like set to go, the big hurdle there is actually get reproducibility.

48:13.720 --> 48:25.280
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.

48:26.180 --> 48:32.380
With fetch tree stabilize, there are not too many hurdles to getting flakes stabilized.

48:33.260 --> 48:35.160
There's like some like command line stuff.

48:35.160 --> 48:36.280
There's a few little things with air free.

48:36.280 --> 48:38.340
It's actually done a lot of work recently on that.

48:38.340 --> 48:39.520
Thank you very much.

48:40.340 --> 48:42.200
So it just it takes effort.

48:42.280 --> 48:45.060
Right now we don't have anyone full time really working on it.

48:45.080 --> 48:47.960
So another thing that we need is just contribution.

48:47.960 --> 48:52.060
So if you're interested in developing Nix, any C++ experts out there?

48:52.100 --> 48:52.900
Woo!

48:54.680 --> 48:56.100
Okay, maybe not.

48:56.340 --> 49:01.320
But if you care enough to do some C++ work, again, please let me know.

49:01.320 --> 49:04.160
And that's another place where we can use some help.

49:04.160 --> 49:07.020
Can I share some thoughts too really quickly?

49:07.020 --> 49:10.060
I was a very long holdout for this thing called flakes.

49:10.280 --> 49:11.580
Extremely long.

49:11.580 --> 49:14.200
I feel like I just gave up and I was like, I'm going to use it.

49:14.200 --> 49:19.200
And I think there's validity in that because software is a community.

49:19.380 --> 49:20.620
And it's written by authors.

49:21.000 --> 49:27.760
And the authors of this software suite have decided they like this thing, and they want to keep pushing it forward.

49:28.160 --> 49:34.760
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.

49:34.760 --> 49:38.360
And I was like, you know, I gotta, I've liked everything they've produced thus far.

49:38.360 --> 49:40.540
So I'm going to trust in the final vision.

49:40.600 --> 49:44.760
I still have a little hesitation, like I don't really know what it bought me.

49:44.900 --> 49:47.340
But that's where the ongoing investments going.

49:47.340 --> 49:52.600
And I want and kind of mentioned that's where I'm spending my time to make it better and contribute to it.

49:52.600 --> 49:58.540
So that's like my also addendum to flakes.

49:58.920 --> 50:16.340
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.

50:16.340 --> 50:25.580
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.

50:25.580 --> 50:27.300
So I think that has also helped the inflection point.

50:27.300 --> 50:29.100
Flakes or the fancy CLI?

50:29.100 --> 50:31.000
It might have been the fancy CLI.

50:31.840 --> 50:32.260
Sure.

50:32.260 --> 50:32.960
Okay.

50:32.960 --> 50:36.360
All right, we have two minutes.

50:36.360 --> 50:37.680
One last question.

50:37.920 --> 50:38.380
Yes .

51:11.180 --> 51:21.060
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.

51:21.060 --> 51:24.360
That's, you know, there's the potential there of divergence from upstream.

51:24.360 --> 51:25.980
And then how do we deal with that?

51:26.860 --> 51:33.640
In some sense, the way I see that is, hey, they're, they're testing the waters.

51:33.660 --> 51:44.080
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.

51:45.080 --> 51:46.840
And that actually helps.

51:46.840 --> 51:52.260
So a lot of the changes that dead CISNICs is doing is also being kind of PR back into upstream.

51:52.400 --> 51:55.960
Some are not, it depends on like what that actual change is.

51:56.520 --> 51:58.920
But I think overall, it just helps push us along.

51:58.920 --> 52:04.800
It's a forcing function, just like any other fork that would kind of, you know, force us to get our act together.

52:04.800 --> 52:07.580
So I'm actually in some sense in favor of that.

52:07.620 --> 52:09.200
But you'd have to be careful a little bit.

52:09.200 --> 52:11.840
And, you know, it's a that's open source.

52:12.120 --> 52:14.460
Okay, I think the community it solves itself.

52:14.620 --> 52:15.780
They're moving it forward.

52:15.780 --> 52:19.540
If it's a positive addition, and it's pulling everyone there.

52:20.540 --> 52:21.700
That makes sense.

52:21.700 --> 52:22.780
And we're all going to use it.

52:22.780 --> 52:28.180
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.

52:28.380 --> 52:42.580
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.

52:42.920 --> 52:56.230
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.

52:58.960 --> 53:00.540
Thank you guys.

