!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

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

Load older messages


SenderMessageTime
19 Mar 2022
@elvishjerricco:matrix.org@elvishjerricco:matrix.org bobvanderlinden: That would be what I described before, where a different attrsOf is defined in terms of a different attrsOf 10:58:13
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Janne Heß: Well cool. I could have sworn that didn't work anymore 10:58:33
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI... might just use that10:58:38
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @elvishjerricco:matrix.org
I... might just use that
Oh nio πŸ‘€
10:58:49
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de* Oh no πŸ‘€10:58:58
@bobvanderlinden_:matrix.orgbobvanderlinden ElvishJerricco: oops you're right, it's creating timers for startAt in services 10:59:03
@bobvanderlinden_:matrix.orgbobvanderlinden ElvishJerricco: is there a way to cooperate in parallel? 11:09:29
@elvishjerricco:matrix.org@elvishjerricco:matrix.org bobvanderlinden: How do you mean? 11:11:55
@bobvanderlinden_:matrix.orgbobvanderlindenAt the moment I feel like it's hard to work on my branch, because it'll conflict with changes you're working on11:13:10
@bobvanderlinden_:matrix.orgbobvanderlindenI was thinking, if the bare-bones version of boot.inird.systemd is there, I can look into one of plymouth, luks, cryptsetup, etc11:14:17
@bobvanderlinden_:matrix.orgbobvanderlindenI'll just ditch the pr-usable-systemd-modules branch, as I think it'll never get approved and I don't see a better way with the current module system11:15:03
@bobvanderlinden_:matrix.orgbobvanderlinden * I'll just ditch the pr-reusable-systemd-modules branch, as I think it'll never get approved and I don't see a better way with the current module system11:15:16
@elvishjerricco:matrix.org@elvishjerricco:matrix.org bobvanderlinden: I think I need to get the very basic thing reconstructed before we can start to parallelize implementations of the various initrd features 11:15:39
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgLuckily, given that I've done this four times now, and I think I have a really solid foundation (with much thanks to your branch!), I think this could be fairly quick to construct11:16:12
@bobvanderlinden_:matrix.orgbobvanderlindenawesome πŸ‘οΈ let me know when πŸ˜„11:16:26
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgoh crap11:16:57
@elvishjerricco:matrix.org@elvishjerricco:matrix.org generateUnits adds a bunch of crappy default units 11:17:09
@elvishjerricco:matrix.org@elvishjerricco:matrix.orglike nix-daemon.service11:17:13
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgthat's gonna be a problem...11:17:17
@elvishjerricco:matrix.org@elvishjerricco:matrix.org I was so excited "I'm just gonna call generateUnits, then either do my Exec* parsing or cherry-pick bobvanderlinden's change, and then it should boot!" 11:17:56
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgOf course it's not that simple...11:18:01
@bobvanderlinden_:matrix.orgbobvanderlinden is that because of it referring to config.systemd.packages? 11:18:10
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgOh if it's doing that all on its own then I'm going to have to parameterize this thing...11:18:40
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgYea... yea it's doing that11:18:59
@bobvanderlinden_:matrix.orgbobvanderlinden make cfg part of the arguments of generateUnits' I'd say 11:19:01
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgThis thing is getting way too many positional arguments. I'm gonna make it an attrset argument11:20:46
@bobvanderlinden_:matrix.orgbobvanderlindenhaha, exactly what I was thinking πŸ˜„ it's a messy function atm11:21:17
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgHell yea, that worked11:26:56
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgSweet, the regular old systemd options are generating a proper unit directory. Awesom12:46:57
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgSweet. Looks like I just have to fix the slightly wrong file system code for the qemu-vm module and then I'll have a VM that boots.13:52:03

Show newer messages


Back to Room ListRoom Version: 6