fwupd: define as a sane.program
This commit is contained in:
parent
12e15b6456
commit
76abbac6f6
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
# non-free firmware
|
# non-free firmware
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
services.fwupd.enable = true;
|
|
||||||
|
|
||||||
# powertop will default to putting USB devices -- including HID -- to sleep after TWO SECONDS
|
# powertop will default to putting USB devices -- including HID -- to sleep after TWO SECONDS
|
||||||
powerManagement.powertop.enable = false;
|
powerManagement.powertop.enable = false;
|
||||||
|
|
|
@ -63,6 +63,7 @@ in
|
||||||
"fatresize"
|
"fatresize"
|
||||||
"fd"
|
"fd"
|
||||||
"file"
|
"file"
|
||||||
|
"fwupd"
|
||||||
"gawk"
|
"gawk"
|
||||||
"git"
|
"git"
|
||||||
"gptfdisk"
|
"gptfdisk"
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./fontconfig.nix
|
./fontconfig.nix
|
||||||
./fractal.nix
|
./fractal.nix
|
||||||
|
./fwupd.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./gnome-feeds.nix
|
./gnome-feeds.nix
|
||||||
./gnome-keyring.nix
|
./gnome-keyring.nix
|
||||||
|
|
7
hosts/common/programs/fwupd.nix
Normal file
7
hosts/common/programs/fwupd.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user