[Nix-dev] [PATCHES] vsftpd and filesystems

Mathijs Kwik mathijs at bluescreen303.nl
Sat Feb 25 17:09:16 CET 2012


2012/2/25 Lluís Batlle i Rossell <viric at viric.name>:
> Right, mips and armv5tel nixos default kernels don't have those modules. Those
> systems would fail to boot on next reboot after rebuild. Annoying.
>
> Why not prepare some "boot.btrfs = true;" kind of option, if btrfs is a
> complicated thing? A builder based on that could even check that the kernel
> config has BTRFS enabled. :)

Nope, there's nothing complicated.
I was just responding to a patch that Bryce proposed, by saying that
manually modprobing isn't a nice thing to do, exactly for the reason
you mention.
It's not needed anyway, as we have boot.kernelModules and
boot.initrd.kernelModules for that.

As for the option you propose, I think just looking at the fsType
option in the filesystems array is just as easy.

I attached the patch earlier in this thread which does just that.


More information about the nix-dev mailing list