| 23 Jan 2025 |
ElvishJerricco | yea, systemd initrd gets a little tricky | 02:57:20 |
ElvishJerricco | because it makes everything extremely explicit | 02:57:37 |
matthewcroughan | When I look at stuff like this, I think it's a miracle things work so well | 02:57:39 |
matthewcroughan | But it's even more fragile in the initrd shell scripts that came before hand | 02:57:59 |
matthewcroughan | These images are really quite nice to build as wel | 02:58:34 |
matthewcroughan | * These images are really quite nice to build as well | 02:58:36 |
matthewcroughan | I guess you can still nixos-rebuild switch this setup, since /boot is left in tact | 02:58:53 |
matthewcroughan | as long as you have enough ram 🤔 | 02:58:58 |
ElvishJerricco | well, you'll need a writable store for that | 02:59:16 |
ElvishJerricco | which means overlayfs shenanigans | 02:59:23 |
matthewcroughan | I was reading about systemd switch root stuff, and it has a soft switch mode | 03:00:39 |
ElvishJerricco | you mean soft-reboot? | 03:00:55 |
ElvishJerricco | that's complicated | 03:01:00 |
matthewcroughan | soft-reboot yeah | 03:01:05 |
ElvishJerricco | and we should not get into it right now :P | 03:01:05 |
matthewcroughan | if you used that, you could soft-reboot into an "upgradable" state, and then perform your nixos-rebuild, and then switch back | 03:01:28 |
matthewcroughan | having a rw specialisation | 03:01:41 |
ElvishJerricco | like I said, it's complicated. More complicated than that | 03:01:51 |
matthewcroughan | switch into the rw specialisation with soft-reboot, then soft-reboot into the ro generation | 03:01:55 |
matthewcroughan | hehe okay, I will play with that on my own since it seems fun | 03:02:06 |
matthewcroughan | [Unit]
Description=My Surviving Service
SurviveFinalKillSignal=yes
| 03:02:19 |
matthewcroughan | so much death | 03:02:20 |
ElvishJerricco | there's a draft PR for it | 03:02:21 |
matthewcroughan | I also found that on asahi the shutdown -H feature doesn't work | 03:03:12 |
matthewcroughan | nor does systemctl halt, it just reboots | 03:03:20 |
matthewcroughan | the SMC on macs is BS | 03:03:27 |
matthewcroughan | github.com/AsahiLinux/linux/blob/asahi/drivers/power/reset/macsmc-reboot.c#L204-L208 | 03:03:46 |
| 24 Jan 2025 |
| rntpts joined the room. | 17:30:39 |
| bumperboat joined the room. | 20:04:08 |
bumperboat | anyone seeing this Failed to connect to user scope bus via local transport: Connection refused with sytemctl --user | 20:05:28 |