diff --git a/system/modules/host/hardware/common/default.nix b/system/modules/host/hardware/common/default.nix new file mode 100644 index 0000000..84f1dc6 --- /dev/null +++ b/system/modules/host/hardware/common/default.nix @@ -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; + }; + }; +}