2012/2/28 Lluís Batlle i Rossell <[email protected]> > > Adding only "btrfs" will fail; I've had to add [ "btrfs" "zlib_deflate" > "libcrc32c" "crc32c" ] to the boot.initrd for btrfs to load fine. >
eep. not using modprobe? I had been assuming that the mechanism used to load kernel modules would pick up dependencies. Anyway, I can now confirm that the above-listed set of kernel modules does indeed cause the patch to work as-is (e.g., I removed my extra modprobe line). However, the modules must be added to boot.initrd.kernelModules instead of boot.kernelModules. Don't know why. > > I've root on btrfs, so I can't wait for stage2. I also run btrfs device > scan in > the initrd. (postDeviceCommands), after having copied it to the initrd > (extraUtilsCommands). The same for its fsck. > > > I do have a question, though: if boot.kernelModules is set in > > hardware-configuration.nix and in configuration.nix, which takes > > precedence? I've been editing the one in configuration.nix to no avail. > > I don't use hardware-configuration.nix, but every option defines how to be > merged once there are multiple definitions in different nixos modules. > With some > defaults: lists concatenate, etc etc. > > Regards, > Lluís >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
