From 01a512e3fd0db65caf5c9989ee529844a49c5186 Mon Sep 17 00:00:00 2001 From: Andreas Schaafsma Date: Wed, 22 Apr 2026 03:35:15 +0200 Subject: [PATCH] fix broken syntax --- .../hardware/graphics/passthrough_nvidia.nix | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/systems/x86_64-linux/drivebystation-nix/hardware/graphics/passthrough_nvidia.nix b/systems/x86_64-linux/drivebystation-nix/hardware/graphics/passthrough_nvidia.nix index c16f69e..8d42797 100644 --- a/systems/x86_64-linux/drivebystation-nix/hardware/graphics/passthrough_nvidia.nix +++ b/systems/x86_64-linux/drivebystation-nix/hardware/graphics/passthrough_nvidia.nix @@ -20,19 +20,19 @@ boot.initrd.systemd = { enable = true; services.initrd-vfio-pci-nvidia = { - - description = "vfio-pci predevice init"; - wantedBy = [ "initrd.target" ]; - # Match 'preDeviceCommands' by running early - before = [ "sysroot.mount" ]; - - unitConfig.DefaultDependencies = "no"; - serviceConfig.Type = "oneshot"; - - # Place your original shell commands here - script = '' - modprobe vfio-pci - ''; + description = "vfio-pci predevice init"; + wantedBy = [ "initrd.target" ]; + # Match 'preDeviceCommands' by running early + before = [ "sysroot.mount" ]; + + unitConfig.DefaultDependencies = "no"; + serviceConfig.Type = "oneshot"; + + # Place your original shell commands here + script = '' + modprobe vfio-pci + ''; + } }; # # EARLY and deterministic binding # boot.initrd.preDeviceCommands = ''