summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatt Christ <matt@christ.systems>2021-05-28 20:52:14 -0500
committerMatt Christ <matt@christ.systems>2021-05-28 20:55:55 -0500
commitdd54ac56484f446d063c2088d856c812531f72fc (patch)
treeaebc8c99d832ee4ff73b260a550138fc3f22659b
parentc92404dc69c461c6a019bf955303c7581642d9fc (diff)
downloadnixpkgs-dd54ac56484f446d063c2088d856c812531f72fc.tar
nixpkgs-dd54ac56484f446d063c2088d856c812531f72fc.tar.gz
nixpkgs-dd54ac56484f446d063c2088d856c812531f72fc.tar.bz2
nixpkgs-dd54ac56484f446d063c2088d856c812531f72fc.tar.lz
nixpkgs-dd54ac56484f446d063c2088d856c812531f72fc.tar.xz
nixpkgs-dd54ac56484f446d063c2088d856c812531f72fc.tar.zst
nixpkgs-dd54ac56484f446d063c2088d856c812531f72fc.zip
brscan5: simplify mkEnableOption
-rw-r--r--nixos/modules/services/hardware/sane_extra_backends/brscan5.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/nixos/modules/services/hardware/sane_extra_backends/brscan5.nix b/nixos/modules/services/hardware/sane_extra_backends/brscan5.nix
index fc3cb3e0016..89b5ff0e028 100644
--- a/nixos/modules/services/hardware/sane_extra_backends/brscan5.nix
+++ b/nixos/modules/services/hardware/sane_extra_backends/brscan5.nix
@@ -68,12 +68,7 @@ in
   options = {
 
     hardware.sane.brscan5.enable =
-      mkEnableOption "Brother's brscan5 scan backend" // {
-      description = ''
-        When enabled, will automatically register the "brscan5" sane
-        backend and bring configuration files to their expected location.
-      '';
-    };
+      mkEnableOption "the Brother brscan5 sane backend";
 
     hardware.sane.brscan5.netDevices = mkOption {
       default = {};