Skip to content
Permalink
Browse files

Merge pull request #62966 from bjornfor/nixos-generate-config-bcache

nixos-generate-config: add support for bcache
  • Loading branch information...
edolstra committed Jun 12, 2019
2 parents ca09991 + 4755811 commit 734b3e7758d988b88b77fc2f3d3aed7a3d79cf2d
Showing with 5 additions and 0 deletions.
  1. +5 −0 nixos/modules/installer/tools/nixos-generate-config.pl
@@ -258,6 +258,11 @@ sub usbCheck {
}
}

# Add bcache module, if needed.
my @bcacheDevices = glob("/dev/bcache*");
if (scalar @bcacheDevices > 0) {
push @initrdAvailableKernelModules, "bcache";
}

my $virt = `systemd-detect-virt`;
chomp $virt;

0 comments on commit 734b3e7

Please sign in to comment.
You can’t perform that action at this time.