add profiles/allHardware

main
Felix Stupp 1 year ago
parent f81cb9cfb9
commit bcc8d636e1
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -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
];
};
}

@ -4,6 +4,7 @@ let
importProfileMod = lib.importFlakeMod;
in
{
allHardware = importProfile ./allHardware.nix;
blade = importProfile ./blade.nix;
common = importProfile ./common.nix;
installer = importProfileMod ./installer.nix;

Loading…
Cancel
Save