Format with nixfmt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Davíð Steinn Geirsson 2026-03-17 13:11:36 +00:00
parent 43c99ec162
commit 7dabe5a0d2
2 changed files with 2 additions and 6 deletions

View file

@ -186,11 +186,7 @@ in
++ (
let
allUsbDeviceKeys = lib.concatMap (
vm:
map (
dev:
"${dev.vendorId}:${dev.productId}:${toString (dev.serial or "")}"
) vm.usbDevices
vm: map (dev: "${dev.vendorId}:${dev.productId}:${toString (dev.serial or "")}") vm.usbDevices
) (lib.attrValues cfg.nixosVms);
in
[

View file

@ -333,7 +333,7 @@ in
# Persistent USB attach services (one per VM with usbDevices)
lib.concatMap (
vm:
lib.optional (vm.usbDevices != []) (
lib.optional (vm.usbDevices != [ ]) (
lib.nameValuePair "vmsilo-${vm.name}-usb-attach" {
description = "USB device attach for VM ${vm.name}";
requires = [ "vmsilo-${vm.name}-vm.service" ];