2018-07-20 21:56:59 +01:00
|
|
|
{ pkgs, ... }:
|
2014-11-10 21:09:34 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
environment.systemPackages = [ pkgs.bcache-tools ];
|
|
|
|
|
2017-06-01 21:45:41 +01:00
|
|
|
services.udev.packages = [ pkgs.bcache-tools ];
|
|
|
|
|
2014-11-10 21:09:34 +00:00
|
|
|
boot.initrd.extraUdevRulesCommands = ''
|
|
|
|
cp -v ${pkgs.bcache-tools}/lib/udev/rules.d/*.rules $out/
|
2020-08-07 14:43:58 +01:00
|
|
|
'';
|
2014-11-10 21:09:34 +00:00
|
|
|
|
|
|
|
}
|