fix broken syntax
This commit is contained in:
@@ -20,19 +20,19 @@
|
|||||||
boot.initrd.systemd = {
|
boot.initrd.systemd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
services.initrd-vfio-pci-nvidia = {
|
services.initrd-vfio-pci-nvidia = {
|
||||||
|
description = "vfio-pci predevice init";
|
||||||
|
wantedBy = [ "initrd.target" ];
|
||||||
|
# Match 'preDeviceCommands' by running early
|
||||||
|
before = [ "sysroot.mount" ];
|
||||||
|
|
||||||
description = "vfio-pci predevice init";
|
unitConfig.DefaultDependencies = "no";
|
||||||
wantedBy = [ "initrd.target" ];
|
serviceConfig.Type = "oneshot";
|
||||||
# Match 'preDeviceCommands' by running early
|
|
||||||
before = [ "sysroot.mount" ];
|
|
||||||
|
|
||||||
unitConfig.DefaultDependencies = "no";
|
# Place your original shell commands here
|
||||||
serviceConfig.Type = "oneshot";
|
script = ''
|
||||||
|
modprobe vfio-pci
|
||||||
# Place your original shell commands here
|
'';
|
||||||
script = ''
|
}
|
||||||
modprobe vfio-pci
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
# # EARLY and deterministic binding
|
# # EARLY and deterministic binding
|
||||||
# boot.initrd.preDeviceCommands = ''
|
# boot.initrd.preDeviceCommands = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user