anchor.diff:            Allow blacklisting specific plugins
           '';
         };
  +
  +      extraTrustedKeys = mkOption {
  +        type = types.listOf types.path;
  +        default = [];
  +        example = literalExample "[ /etc/nixos/fwupd/myfirmware.pem ]";
  +        description = ''
  +          Installing a public key allows firmware signed with a matching private key to be recognized as trusted, which may require less authentication to install than for untrusted files. By default trusted firmware can be upgraded (but not downgraded) without the user or administrator password. Only very few keys are installed by default.
  +        '';
  +      };
       };
     };
   
  
positive.code:           BlacklistPlugins=${lib.concatStringsSep ";" cfg.blacklistPlugins}
          '';
        };
      } // originalEtc;
  
      services.dbus.packages = [ pkgs.fwupd ];
  
  
negative.code:       originalFiles = concatMap (d: map (f: "${d}/${f}") (listFiles "${pkgs.fwupd}/etc/${d}")) copiedDirs;
        mkEtcFile = n: nameValuePair n { source = "${pkgs.fwupd}/etc/${n}"; };
      in listToAttrs (map mkEtcFile originalFiles);
    extraTrustedKeys =
      let
        mkName = p: "pki/fwupd/${baseNameOf (toString p)}";
        mkEtcFile = p: nameValuePair (mkName p) { source = p; };
      in listToAttrs (map mkEtcFile cfg.extraTrustedKeys);
  in {
  
    ###### interface
  