summary refs log tree commit diff
path: root/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/hardware/sane_extra_backends/brscan4.nix')
-rw-r--r--nixos/modules/services/hardware/sane_extra_backends/brscan4.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix b/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix
index 6f49a1ab6d4..a6afa01dd81 100644
--- a/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix
+++ b/nixos/modules/services/hardware/sane_extra_backends/brscan4.nix
@@ -81,7 +81,7 @@ in
         { office1 = { model = "MFC-7860DW"; ip = "192.168.1.2"; };
           office2 = { model = "MFC-7860DW"; nodename = "BRW0080927AFBCE"; };
         };
-      type = with types; loaOf (submodule netDeviceOpts);
+      type = with types; attrsOf (submodule netDeviceOpts);
       description = ''
         The list of network devices that will be registered against the brscan4
         sane backend.