1
1
Fork 0
nixos/options/custom/services/fwupd.nix
Myned eab362ef0b
fwupd: add bug comment
Signed-off-by: Myned <dev@bjork.tech>
2024-11-25 12:00:57 -06:00

22 lines
524 B
Nix

{
config,
lib,
...
}:
with lib; let
cfg = config.custom.services.fwupd;
in {
options.custom.services.fwupd.enable = mkOption {default = false;};
config = mkIf cfg.enable {
# BUG: Cache not refreshing properly with libxmlb < 0.3.21
# https://github.com/fwupd/fwupd/issues/7918
# https://github.com/NixOS/nixpkgs/issues/347248
# https://wiki.nixos.org/wiki/Fwupd
# https://github.com/fwupd/fwupd
services.fwupd = {
enable = true;
extraRemotes = ["lvfs-testing"];
};
};
}