!DBFhtjpqmJNENpLDOv:nixos.org

NixOS systemd

607 Members
NixOS ❤️ systemd172 Servers

Load older messages


SenderMessageTime
23 Jan 2025
@elvishjerricco:matrix.orgElvishJerriccoyea, systemd initrd gets a little tricky02:57:20
@elvishjerricco:matrix.orgElvishJerriccobecause it makes everything extremely explicit02:57:37
@matthewcroughan:defenestrate.itmatthewcroughanWhen I look at stuff like this, I think it's a miracle things work so well02:57:39
@matthewcroughan:defenestrate.itmatthewcroughanBut it's even more fragile in the initrd shell scripts that came before hand02:57:59
@matthewcroughan:defenestrate.itmatthewcroughanThese images are really quite nice to build as wel02:58:34
@matthewcroughan:defenestrate.itmatthewcroughan * These images are really quite nice to build as well02:58:36
@matthewcroughan:defenestrate.itmatthewcroughan I guess you can still nixos-rebuild switch this setup, since /boot is left in tact 02:58:53
@matthewcroughan:defenestrate.itmatthewcroughanas long as you have enough ram 🤔02:58:58
@elvishjerricco:matrix.orgElvishJerriccowell, you'll need a writable store for that02:59:16
@elvishjerricco:matrix.orgElvishJerriccowhich means overlayfs shenanigans02:59:23
@matthewcroughan:defenestrate.itmatthewcroughan I was reading about systemd switch root stuff, and it has a soft switch mode 03:00:39
@elvishjerricco:matrix.orgElvishJerriccoyou mean soft-reboot?03:00:55
@elvishjerricco:matrix.orgElvishJerricco that's complicated 03:01:00
@matthewcroughan:defenestrate.itmatthewcroughan soft-reboot yeah 03:01:05
@elvishjerricco:matrix.orgElvishJerriccoand we should not get into it right now :P03:01:05
@matthewcroughan:defenestrate.itmatthewcroughan 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:defenestrate.itmatthewcroughanhaving a rw specialisation03:01:41
@elvishjerricco:matrix.orgElvishJerricco like I said, it's complicated. More complicated than that 03:01:51
@matthewcroughan:defenestrate.itmatthewcroughanswitch into the rw specialisation with soft-reboot, then soft-reboot into the ro generation03:01:55
@matthewcroughan:defenestrate.itmatthewcroughan hehe okay, I will play with that on my own since it seems fun 03:02:06
@matthewcroughan:defenestrate.itmatthewcroughan
[Unit]
Description=My Surviving Service
SurviveFinalKillSignal=yes
03:02:19
@matthewcroughan:defenestrate.itmatthewcroughanso much death 03:02:20
@elvishjerricco:matrix.orgElvishJerriccothere's a draft PR for it03:02:21
@matthewcroughan:defenestrate.itmatthewcroughan I also found that on asahi the shutdown -H feature doesn't work 03:03:12
@matthewcroughan:defenestrate.itmatthewcroughan nor does systemctl halt, it just reboots 03:03:20
@matthewcroughan:defenestrate.itmatthewcroughanthe SMC on macs is BS03:03:27
@matthewcroughan:defenestrate.itmatthewcroughangithub.com/AsahiLinux/linux/blob/asahi/drivers/power/reset/macsmc-reboot.c#L204-L20803:03:46
24 Jan 2025
@rntpts:synapse.rntpts.derntpts joined the room.17:30:39
@bumperboat:matrix.orgbumperboat joined the room.20:04:08
@bumperboat:matrix.orgbumperboat anyone seeing this Failed to connect to user scope bus via local transport: Connection refused with sytemctl --user 20:05:28

Show newer messages


Back to Room ListRoom Version: 6