nixpkgs-suyu/nixos/modules/tasks/bcache.nix

12 lines
196 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
environment.systemPackages = [ pkgs.bcache-tools ];
boot.initrd.extraUdevRulesCommands = ''
cp -v ${pkgs.bcache-tools}/lib/udev/rules.d/*.rules $out/
'';
}