mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
e5f7dacc93
invalid test was introduced in 297d1598ef
and it is disabled in the shipped daemon.conf.
I forgot to reflect that in the module, which caused the daemon to print the following on start-up:
FuEngine invalid has incorrect built version invalid
and the command to warn:
WARNING: The daemon has loaded 3rd party code and is no longer supported by the upstream developers!
To reduce the change of this happening in the future, I moved the list of default disabled plug-ins to the package expression.
I also set the value of the NixOS module option in the config section of the module instead of the default value used previously,
which will allow users to not care about these plug-ins.
12 lines
307 B
Nix
12 lines
307 B
Nix
{ pkgs, lib, makeInstalledTest, ... }:
|
|
|
|
makeInstalledTest {
|
|
tested = pkgs.fwupd;
|
|
|
|
testConfig = {
|
|
services.fwupd.enable = true;
|
|
services.fwupd.blacklistPlugins = lib.mkForce []; # don't blacklist test plugin
|
|
services.fwupd.enableTestRemote = true;
|
|
virtualisation.memorySize = 768;
|
|
};
|
|
}
|