fwupd: define as a sane.program

This commit is contained in:
Colin 2023-08-04 07:32:59 +00:00
parent 12e15b6456
commit 76abbac6f6
4 changed files with 9 additions and 1 deletions

View File

@ -23,7 +23,6 @@
# non-free firmware
hardware.enableRedistributableFirmware = true;
services.fwupd.enable = true;
# powertop will default to putting USB devices -- including HID -- to sleep after TWO SECONDS
powerManagement.powertop.enable = false;

View File

@ -63,6 +63,7 @@ in
"fatresize"
"fd"
"file"
"fwupd"
"gawk"
"git"
"gptfdisk"

View File

@ -12,6 +12,7 @@
./firefox.nix
./fontconfig.nix
./fractal.nix
./fwupd.nix
./git.nix
./gnome-feeds.nix
./gnome-keyring.nix

View File

@ -0,0 +1,7 @@
{ config, lib, ... }:
{
services.fwupd = lib.mkIf config.sane.programs.fwupd.enabled {
# enables the dbus service, which i think the frontend speaks to.
enable = true;
};
}