| 20 Dec 2024 |
ElvishJerricco | i.e. replace it with what you actually want, thereby deleting the objectively wrong one | 22:49:49 |
ElvishJerricco | (and yes, fixing merging would be a nice thing to do as well, but mkForce is fine for now) | 22:50:02 |
ElvishJerricco | * (and yes, fixing merging would be a nice thing to do as well, but mkForce is fine) | 22:50:07 |
@adam:robins.wtf | i know this is a bit of a weird preference, which is why i'd held off asking the question :) | 22:50:13 |
ElvishJerricco | 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 | that's gonna be my next test | 22:52:37 |
gdamjan | https://www.freedesktop.org/software/systemd/man/latest/systemd-firstboot.html#Credentials
probably not supported | 22:54:41 |
gdamjan | ah wait
https://www.freedesktop.org/software/systemd/man/latest/systemd.system-credentials.html#system.hostname | 22:55:34 |
@adam:robins.wtf | yeah, :) | 22:55:53 |
@adam:robins.wtf | ElvishJerricco: yes mkForce works | 23:00:33 |
@adam:robins.wtf | thanks everyone | 23:02:11 |
ElvishJerricco | sweet | 23:03:38 |
ElvishJerricco | I do kinda wonder about /etc/hostname being in initrd by default in the first place tbh | 23:04:17 |
ElvishJerricco | this mainly comes from a long-term goal of fully generic initrd | 23:04:35 |
ElvishJerricco | but setting hostname globally by some other means seems... eh, also unsavory | 23:05:10 |
gdamjan | generic initrd is a noble cause | 23:10:06 |
@adam:robins.wtf | https://github.com/NixOS/nixpkgs/pull/333643 is the commit that changed the behavior | 23:10:36 |
ElvishJerricco | yea, it was merged without my knowledge of it, but I probably wouldn't have blocked it | 23:14:35 |
ElvishJerricco | it seems like an improvement for the time being while we don't have generic initrd | 23:14:47 |
ElvishJerricco | long term initrd hostname should probably be handled by systemd-stub-style creds | 23:15:58 |
@adam:robins.wtf | yeah it makes more sense to have the normal hostname in logs for sure :) | 23:23:46 |
ElvishJerricco | on 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 NixOS | 23:24:40 |
ElvishJerricco | actually | 23:24:44 |
ElvishJerricco | I'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 :P | 23:25:08 |
ElvishJerricco | (short version: toplevel is a parent of a signed "core") | 23:26:05 |
| 21 Dec 2024 |
| @stablejoy:matrix.org left the room. | 05:08:21 |
| @dmiskovic:matrix.org left the room. | 05:14:05 |
| @stablejoy:matrix.org joined the room. | 06:42:59 |
| Martin Charles joined the room. | 18:58:08 |
| sleepymonad joined the room. | 21:13:54 |