Paul Haerle
Paul Haerle
I believe it might be easier to discuss the merits of this opinion if you could share with us why you regard it as a a workaround and what "actually...
> The actual issue is that secret.keyFile and passwordFile cannot be used simulateously. Not that is is impossible to set a keyfile using some hack or work around. Ah, without...
> cli and lib can be included easily but I found that make-disk-image.nix gets evaluated in a way that requires network connection to download the dependencies. Are you intending to...
I think the title for this issue could be a bit clearer, can't really parse it. But you are right IMO regarding the necessity of changing our ZFS support, as...
> lib.mkIf (device == (builtins.elemAt disks 0)) { I believe you can just use `if (device == (builtins.elemAt disks 0)) then ... else ...`.
> So, I guess, some of the examples don't really work, i.e. those having partitions with just zfs. Did you test the examples to verify? If so, can you post...
Close, i think this is what you want? https://github.com/nix-community/disko/blob/4eed2457b053c4bbad7d90d2b3a1d539c2c9009c/lib/types/luks.nix#L70
> No problem for manual setups, but maybe something to consider for disko. Can you elaborate what we should do on the disko-side about this? Automatically calculating one from the...
> I also did not have success changing the disk configuration by adding preMountHook to the device config file like so: Those hooks only run when disko runs, while the...
> Is it correct then, that I need to write a systemd unit file which does the rollback before any zfs datasets are mounted? Do you have any suggestions on...