feat(systemModules:host): add common hardware configuration module

This commit is contained in:
ooks-io 2024-04-29 22:52:32 +12:00
parent 4a8095f271
commit 2fe6c44941

View file

@ -0,0 +1,15 @@
{ lib, config, ... }:
let
inherit (lib) mkIf;
host = config.systemModules.host;
in
{
config = mkIf (host.type != "phone") {
hardware = {
enableRedistributableFirmware = true;
enableAllFirmware = true;
};
};
}