| 4 Mar 2025 |
@adam:robins.wtf | :) | 14:15:22 |
Willi Butz | in case someone didn't see this already :)
https://github.com/systemd/systemd/pull/36314 | 14:16:16 |
raitobezarius | yeah this is the cool shit | 14:17:01 |
raitobezarius | now i want wireguard | 14:17:05 |
emily | soon systemd-boot will be the new GRUB :) | 14:17:36 |
raitobezarius | this doesn't touch sd-boot! :p | 14:17:54 |
raitobezarius | or just enough to make itreasonable | 14:18:01 |
emily | hmm, it seemed to a fair bit from the diff | 14:18:04 |
raitobezarius | (like leaning on UEFI semantics, it's ok) | 14:18:08 |
emily | is it in the shim then? | 14:18:20 |
emily | stub? whatever they call it | 14:18:26 |
raitobezarius | my understanding is that stub + boot learns about URLs | 14:18:34 |
raitobezarius | wrt to EFI drivers | 14:18:38 |
raitobezarius | and it's still pid1 doing the work | 14:18:43 |
raitobezarius | it's a lot of diff because UEFI and strings lol | 14:18:55 |
emily | ah, so you still have to get a kernel | 14:18:55 |
raitobezarius | yep | 14:18:59 |
raitobezarius | but the kernel can come from an URL as long as you have the right EFI driver | 14:19:10 |
emily | that sort of makes it not as interesting to me I guess – avoiding downloading the entire system on every boot was part of why I was curious about using Nix for this | 14:19:35 |
emily | cool all the same though | 14:19:51 |
raitobezarius | we are back to kindof a specialized bootloader like iPXE | 14:20:32 |
emily | yeah | 14:22:01 |
Arian | anyhow back to the topic. should we mount the initramf’s /nix/store as read-only? (either before starting pid1 or by patching pid1) | 14:22:11 |
emily | I just thought it would be cool to be able to push full NixOS systems out and have them cached to disk "just in time" | 14:22:25 |
emily | it seems good/harmless to do so if it's not too invasive | 14:23:08 |
Nick Cao | Create a fuse based nixfs! | 14:23:18 |
emily | though there's no potential for persistent changes anyway right, since it's just the store from the initramfs? | 14:23:19 |
Nick Cao | I always wanted a thing that: what if we store store paths as compressed nars on the disk, and only use fuse to create an illusion of a nix store | 14:24:08 |
emily | that's what Tvix is doing, afaik | 14:24:23 |
emily | though I think FUSE performance kind of sucks, so you probably need to put something in the kernel at some point | 14:24:39 |