anchor.diff:    };
   
     firmwareDirs = config.services.udev.addFirmware;
  +  
     extraUdevPkgs = config.services.udev.addUdevPkgs
       ++ pkgs.lib.optional (cfg.extraRules != "")
         (pkgs.writeTextFile {
  
positive.code:             done
  
              initctl emit new-devices
          end script
  
          respawn ${udev}/sbin/udevd
        '';
  
        passthru = {inherit udevRules;};
      }];
    };
  }
  
negative.code: {pkgs, config, ...}:
  
  with pkgs.lib;
  
  let
  
    inherit (pkgs) substituteAll stdenv writeText udev procps;
  
    cfg = config.services.udev;
  
    firmwareLoader = substituteAll {
      src = ./udev-firmware-loader.sh;
  