!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

You have reached the beginning of time (for this room).


SenderMessageTime
6 Jun 2023
@oddlama:matrix.orgoddlamaWill try15:47:33
@oddlama:matrix.orgoddlama
In reply to @elvishjerricco:matrix.org
meaning with the current implementation, we won't have a way to do flushBeforeStage2 = false
What would be the benefit of not flushing?
15:48:17
@oddlama:matrix.orgoddlama
In reply to @elvishjerricco:matrix.org

oddlama: Can you try this in your config and see if it fixes your issue?

boot.initrd.network.flushBeforeStage2 = false;
boot.initrd.systemd = {
  services.systemd-networkd = {
    before = ["initrd-switch-root.target"];
    conflicts = ["initrd-switch-root.target"];
  };
  sockets.systemd-networkd = {
    before = ["initrd-switch-root.target"];
    conflicts = ["initrd-switch-root.target"];
  };
};
Yep this works :)
15:50:16
@oddlama:matrix.orgoddlamaDo you have an idea why it doesn't happen on your system?15:52:42

Show newer messages


Back to Room ListRoom Version: 6