nixos/fwupd: make test option internal, be explicit about removal

This commit is contained in:
Maxine Aubrey 2024-02-11 20:25:43 +01:00
parent 97195c0c66
commit 4a4904c2b2
No known key found for this signature in database
GPG Key ID: F6FE033DFCB899F7

View File

@ -123,6 +123,7 @@ in {
};
TestDevices = mkOption {
internal = true;
type = types.bool;
default = false;
description = lib.mdDoc ''
@ -155,6 +156,7 @@ in {
(mkRenamedOptionModule [ "services" "fwupd" "blacklistPlugins"] [ "services" "fwupd" "daemonSettings" "DisabledPlugins" ])
(mkRenamedOptionModule [ "services" "fwupd" "disabledDevices" ] [ "services" "fwupd" "daemonSettings" "DisabledDevices" ])
(mkRenamedOptionModule [ "services" "fwupd" "disabledPlugins" ] [ "services" "fwupd" "daemonSettings" "DisabledPlugins" ])
(mkRemovedOptionModule [ "services" "fwupd" "enableTestRemote" ] "This option was removed after being removed upstream. It only provided a method for testing fwupd functionality, and should not have been exposed for use outside of nix tests.")
];
###### implementation