| 11 Aug 2024 |
matthewcroughan | trying another medium | 18:22:46 |
matthewcroughan | figured it out | 18:23:25 |
matthewcroughan | root = {
name = "root";
size = "100%";
content = {
type = "filesystem";
extraArgs = [ "--compression=lz4" ];
format = "bcachefs";
mountpoint = "/";
postMountHook = toString (pkgs.writeScript "postMountHook.sh" ''
touch /mnt/disko-first-boot
'');
};
};
| 18:23:27 |
matthewcroughan | it's the touch /mnt/disko-first-boot | 18:23:34 |
matthewcroughan | works with ext4, doesn't work with bcachefs | 18:23:47 |
matthewcroughan | bcachefs kernel module wasn't loaded, so that happened :D | 18:24:21 |
matthewcroughan | Impurities. Impurities everywhere! | 18:25:12 |
matthewcroughan | This one of the disadvantages to the way disko does things, it needs loopbacks and can't reliably be used outside of a VM builder | 18:26:10 |