!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

610 Members
NixOS ❤️ systemd172 Servers

Load older messages


SenderMessageTime
20 Dec 2024
@elvishjerricco:matrix.orgElvishJerriccoi.e. replace it with what you actually want, thereby deleting the objectively wrong one22:49:49
@elvishjerricco:matrix.orgElvishJerricco (and yes, fixing merging would be a nice thing to do as well, but mkForce is fine for now) 22:50:02
@elvishjerricco:matrix.orgElvishJerricco * (and yes, fixing merging would be a nice thing to do as well, but mkForce is fine) 22:50:07
@adam:robins.wtf@adam:robins.wtfi know this is a bit of a weird preference, which is why i'd held off asking the question :)22:50:13
@elvishjerricco:matrix.orgElvishJerricco Yea I'm just saying all these other solutions seem like workarounds when there's an obviously correct way to just delete the bad line from initrd using mkForce 22:51:00
@adam:robins.wtf@adam:robins.wtfthat's gonna be my next test22:52:37
@gdamjan:spodeli.orggdamjanhttps://www.freedesktop.org/software/systemd/man/latest/systemd-firstboot.html#Credentials probably not supported22:54:41
@gdamjan:spodeli.orggdamjanah wait https://www.freedesktop.org/software/systemd/man/latest/systemd.system-credentials.html#system.hostname22:55:34
@adam:robins.wtf@adam:robins.wtfyeah, :)22:55:53
@adam:robins.wtf@adam:robins.wtf ElvishJerricco: yes mkForce works 23:00:33
@adam:robins.wtf@adam:robins.wtfthanks everyone23:02:11
@elvishjerricco:matrix.orgElvishJerriccosweet23:03:38
@elvishjerricco:matrix.orgElvishJerricco I do kinda wonder about /etc/hostname being in initrd by default in the first place tbh 23:04:17
@elvishjerricco:matrix.orgElvishJerriccothis mainly comes from a long-term goal of fully generic initrd23:04:35
@elvishjerricco:matrix.orgElvishJerriccobut setting hostname globally by some other means seems... eh, also unsavory23:05:10
@gdamjan:spodeli.orggdamjangeneric initrd is a noble cause23:10:06
@adam:robins.wtf@adam:robins.wtfhttps://github.com/NixOS/nixpkgs/pull/333643 is the commit that changed the behavior23:10:36
@elvishjerricco:matrix.orgElvishJerriccoyea, it was merged without my knowledge of it, but I probably wouldn't have blocked it23:14:35
@elvishjerricco:matrix.orgElvishJerricco it seems like an improvement for the time being while we don't have generic initrd 23:14:47
@elvishjerricco:matrix.orgElvishJerriccolong term initrd hostname should probably be handled by systemd-stub-style creds23:15:58
@adam:robins.wtf@adam:robins.wtfyeah it makes more sense to have the normal hostname in logs for sure :)23:23:46
@elvishjerricco:matrix.orgElvishJerriccoon a tangentially related note, the reason we want generic initrd is to have more realistic secure boot, and I've finally just had a really good thought about how to do that in ordinary NixOS23:24:40
@elvishjerricco:matrix.orgElvishJerriccoactually23:24:44
@elvishjerricco:matrix.orgElvishJerriccoI'm not going to stream-of-consciousness this one... I'm just gonna write about it later tonight and share when the thought is actually somewhat formed :P23:25:08
@elvishjerricco:matrix.orgElvishJerricco(short version: toplevel is a parent of a signed "core")23:26:05
21 Dec 2024
@stablejoy:matrix.org@stablejoy:matrix.org left the room.05:08:21
@dmiskovic:matrix.org@dmiskovic:matrix.org left the room.05:14:05
@stablejoy:matrix.org@stablejoy:matrix.org joined the room.06:42:59
@0xcaff:matrix.orgMartin Charles joined the room.18:58:08
@sleepymonad:matrix.orgsleepymonad joined the room.21:13:54

Show newer messages


Back to Room ListRoom Version: 6