add profiles/allHardware
parent
f81cb9cfb9
commit
bcc8d636e1
@ -0,0 +1,22 @@
|
||||
# all hardware for *installed* systems
|
||||
|
||||
{ modulesPath, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
# from nixpkgs
|
||||
"${modulesPath}/profiles/all-hardware.nix" # all hardware, just so installers from USB / etc. can run
|
||||
# from here
|
||||
./common.nix
|
||||
./pveGuestHwSupport.nix # also for guest agent, serial out, ...
|
||||
];
|
||||
|
||||
config = {
|
||||
boot.initrd.availableKernelModules = [
|
||||
# to find boot drive
|
||||
"mmc_block" # e.g. Surface 3
|
||||
"sdhci-acpi" # e.g. Surface 3
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue