!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
23 Sep 2025
@a-kenji:matrix.orgkenji changed their display name from a-kenji to kenji.10:40:55
1 Oct 2025
@lovesegfault:matrix.orglovesegfault changed their profile picture.22:36:05
3 Oct 2025
@moleksiak:matrix.org@moleksiak:matrix.org joined the room.22:50:17
@moleksiak:matrix.org@moleksiak:matrix.org left the room.22:55:41
6 Oct 2025
@lovesegfault:matrix.orglovesegfault changed their profile picture.17:33:04
@lovesegfault:matrix.orglovesegfault changed their profile picture.17:33:48
20 Oct 2025
@lorenzleutgeb:matrix.org@lorenzleutgeb:matrix.org left the room.12:54:46
11 Nov 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) left the room.21:39:06
12 Nov 2025
@inayet:matrix.orgInayet changed their display name from inayet to Inayet.12:38:44
26 Nov 2025
@astro:envs.net@astro:envs.net left the room.02:25:06
1 Jan 2022
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de changed the history visibility to "world_readable" from "shared".14:58:46
2 Jan 2022
@m1cr0man:m1cr0man.comm1cr0man joined the room.01:12:09
@m1cr0man:m1cr0man.comm1cr0man👋 just here to watch + learn :) 01:13:26
@replaycoding_:matrix.orgReplayCoding joined the room.20:31:19
3 Jan 2022
@phaer:matrix.orgPaul Haerle joined the room.08:41:05
@phaer:matrix.orgPaul HaerleJust to clarify: Is this room mainly about https://github.com/NixOS/nixpkgs/pull/120015 or are there other efforts? :)08:46:44
@arianvp:matrix.orgArianThere's also https://github.com/arianvp/server-optimised-nixos which uses systemd initrd as well08:51:48
@phaer:matrix.orgPaul Haerle Arian: Oh right, i remember seeing your project before - thanks! 09:11:33
@phaer:matrix.orgPaul Haerle Arian: Are you running your initrd code in production already? I have a remote-nixos-on-zfs-root-installer laying around, but one of it's practical problems atm is that the initrd gets pretty big and thats painful to improve as the moment as https://github.com/NixOS/nixpkgs/commit/776a5e6ebfacc6831527bc6c3c1a58ef2087c819 was reverted and nixpkgs initrd still uses ./paths-from-graph.pl which seems to confuse nix-tree, store-path info, etc. 09:14:12
@arianvp:matrix.orgArianI have my own impl of makeInitrd in that repo09:48:27
@arianvp:matrix.orgArianThat uses closureInfo09:48:32
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @arianvp:matrix.org
That uses closureInfo
I'm still looking into the code, but why are you using closeInfo? Doesn't that add a lot of unused weight into stage-1?
10:29:25
@arianvp:matrix.orgArianMostly because I didn't care and it was the simplest. I haven't dabbled into optimising the initrd size yet10:40:47
@arianvp:matrix.orgArianWanted to get working initrd as simply as possible.10:41:03
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deI do like the simplicity of it. No weird tooling involved, just basic tools. Currently looking at the source of mkinitcpio which seems to follow pretty similar ideas10:45:51
@colemickens:matrix.orgcolemickens joined the room.17:23:20
4 Jan 2022
@andi:kack.it@andi:kack.it The issue with the current initrd approach in nixpkgs is that it really causes unfortunate library confusions if you have two (or more) packages providing the same libraries. I've had an issue with pulling in systemd into the closure as that also pulled in systemdMinimal and then the features wouldn't be available as it always dlopen'ed the minimal library :'( 13:37:04
@andi:kack.it@andi:kack.itWe need a better approach for that initrd (and should also rip out that systemdMinimal ASAP)13:37:21
@arianvp:matrix.orgArianThis is also an argument for my approach even though it's not optimised yet. It's 'just' a nix store. So no confusion among libraries13:45:07
@colemickens:matrix.orgcolemickens
In reply to @phaer:matrix.org
Arian: Are you running your initrd code in production already? I have a remote-nixos-on-zfs-root-installer laying around, but one of it's practical problems atm is that the initrd gets pretty big and thats painful to improve as the moment as https://github.com/NixOS/nixpkgs/commit/776a5e6ebfacc6831527bc6c3c1a58ef2087c819 was reverted and nixpkgs initrd still uses ./paths-from-graph.pl which seems to confuse nix-tree, store-path info, etc.
That installer is something I was considering hacking together for netboot oracle instances. Id love to take a peek
15:56:48

Show newer messages


Back to Room ListRoom Version: 6