!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

81 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5125 Servers

Load older messages


SenderMessageTime
21 Apr 2023
@hexa:lossy.network@hexa:lossy.networkmerged! 😄16:46:57
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgWhoo!16:47:14
@flokli:matrix.orgflokli
In reply to @elvishjerricco:matrix.org

What else is left for these to be merged? flokli?

  • https://github.com/NixOS/nixpkgs/pull/226237
  • https://github.com/NixOS/nixpkgs/pull/169116
I just hit the big green button on the networkd - figured we should also get that in, and not block it on the other one to be merged. Thanks for the work :-)
16:49:29
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgYea I left a comment on the other one that now there's a couple of things to do before merging it relating to networking :P16:50:33
@hexa:lossy.network@hexa:lossy.networkyes, it was one of the things I really wanted in 23.05 😄16:50:43
@flokli:matrix.orgflokliWonder when it's time to reboot that box with initrd networkd and see if it comes back up ;-)17:04:30
@elvishjerricco:matrix.org@elvishjerricco:matrix.org

Anyone have a better idea on how to have the initrd networkd options marked as shallow? I'm doing this ugly thing:

${if shallow then "visible" else null} = "shallow";

https://github.com/NixOS/nixpkgs/pull/226237/commits/67c58d4bfd00afd4eddbd854017ec204b9c49282

17:41:39
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deI absolutely love this feature17:41:58
22 Apr 2023
@aktaboot:tchncs.de@aktaboot:tchncs.deAny tips on how/where to start looking to understand what the different Stages are doing ? should I just directly look at the code, or are there some other resources 🤔10:13:17
@k900:0upti.meK900You can see what units are included in the systemd stage 110:17:57
@k900:0upti.meK900And that should tell you most of the things it does really10:18:04
@k900:0upti.meK900Which is not a lot of things10:18:07
@aktaboot:tchncs.de@aktaboot:tchncs.de
In reply to @k900:0upti.me
You can see what units are included in the systemd stage 1
how do I do that ?
10:22:42
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/systemd/initrd.nix10:23:04
@aktaboot:tchncs.de@aktaboot:tchncs.deoh, thanks10:23:38
@oddlama:matrix.orgoddlama joined the room.12:36:17
@oddlama:matrix.orgoddlamaHas anyone tried the stage1 systemd with ZFS yet? There might be some necessary script conversions ahead12:37:32
@hexa:lossy.network@hexa:lossy.networkmy laptop uses it12:37:56
@hexa:lossy.network@hexa:lossy.networkwith impermanence even12:38:03
@oddlama:matrix.orgoddlama oh, then I must have missed some option in my config that defines boot.initrd.postDeviceCommands 12:38:46
@lily:lily.flowers@lily:lily.flowersThe ZFS nixos module enables it. Hold on let me link github12:38:59
@lily:lily.flowers@lily:lily.flowersIt needs to be updated after those assertions were added12:39:05
@lily:lily.flowers@lily:lily.flowershttps://github.com/NixOS/nixpkgs/pull/226237#issuecomment-151863314412:39:30
@aktaboot:tchncs.de@aktaboot:tchncs.deis it at this stage that the luks disks get decrypted ?12:39:44
@aktaboot:tchncs.de@aktaboot:tchncs.deI guess so12:40:02
@oddlama:matrix.orgoddlama
In reply to @lily:lily.flowers
https://github.com/NixOS/nixpkgs/pull/226237#issuecomment-1518633144
Thanks that's exactly what I'm running into.
12:40:05
@oddlama:matrix.orgoddlamaGuess I'll have to look at that later today12:40:49
@lily:lily.flowers@lily:lily.flowers
In reply to @aktaboot:tchncs.de
is it at this stage that the luks disks get decrypted ?
If the disk is neededForBoot (which is any disk to get /, /nix, /nix/store by default iirc)
12:41:35
@aktaboot:tchncs.de@aktaboot:tchncs.deoh, I set it up directly with initrd.luks.devices12:42:55
@aktaboot:tchncs.de@aktaboot:tchncs.de * oh, I set it up directly with bott.initrd.luks.devices 12:43:02

Show newer messages


Back to Room ListRoom Version: 6