| 3 Mar 2025 |
lassulus | 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 |
myxos | Gotcha, I'll try that out, thanks! | 04:44:21 |
lassulus | 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 | Got it, thank you! | 04:49:04 |
myxos | @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 | ah did you run the create script manually before switching? | 17:14:47 |
myxos | Yep | 17:16:55 |
lassulus | and it still crashed? I'm a bit confused why it worked manually afterwards | 17:17:35 |
myxos | Oh, I did not manually run the create script manually before switching at first. That's when it crashed. | 17:18:22 |
myxos | I 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 | ah, yeah that was the missing step I guess, but looking at my history I just said looking at it :D | 17:19:13 |
lassulus | I meant looking at it and running it if it looks fine :) | 17:19:31 |