!oNSIfazDqEcwhcOjSL:matrix.org

disko

400 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko109 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
3 Mar 2025
@lassulus:lassul.uslassulus myxos: that one probably has the disk-deactivate bit at the start, so you could skip that part, and the part of mounting at the end, or run with --mode format 04:33:49
@geebody:matrix.orgmyxosGotcha, I'll try that out, thanks!04:44:21
@lassulus:lassul.uslassulus Raj: hmm, the initrdUnlock adds this to the boot.initrd nixos config, so booting will fail if the device is not available. I don't see an easy way to disable that in nixos, alternative would be to not have the initrdUnlock and unlock it after booting 04:48:05
@raj-magesh:matrix.orgRajGot it, thank you!04:49:04
@geebody:matrix.orgmyxos @lassulus just to update, adding the dataset via Disko configuration caused my system to crash, and I had to roll back to a previous configuration. I needed to first manually create the dataset (zfs create ...), after which I could update the Nix config (for posterity) without error. 17:13:34
@lassulus:lassul.uslassulusah did you run the create script manually before switching?17:14:47
@geebody:matrix.orgmyxosYep17:16:55
@lassulus:lassul.uslassulusand it still crashed? I'm a bit confused why it worked manually afterwards17:17:35
@geebody:matrix.orgmyxosOh, I did not manually run the create script manually before switching at first. That's when it crashed.17:18:22
@geebody:matrix.orgmyxosI was initially hoping the changes to the disko config would be smart enough to just create the new dataset (a bit risky, I know, but no harm done)17:19:09
@lassulus:lassul.uslassulusah, yeah that was the missing step I guess, but looking at my history I just said looking at it :D17:19:13
@lassulus:lassul.uslassulusI meant looking at it and running it if it looks fine :)17:19:31

Show newer messages


Back to Room ListRoom Version: 10