Update to a clearer directory-structure

This commit is contained in:
mexisme committed 2021-02-23 12:40:08 +13:00
1 parent 56f4b2df00
commit a9b2d0e3f1
5 files changed
+23 -13

No files matched your search

@@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
let
cfg = config.hardware.microsoft-surface.firmware.surface-go-ath10k;
in
{
options = {
hardware.microsoft-surface.firmware.surface-go-ath10k = {
enable = lib.mkEnableOption ''Use the "board.bin" firmware for ath10k-based WiFi on Surface Go.'';
};
};
config = lib.mkIf cfg.enable {
hardware.enableAllFirmware = true;
hardware.firmware = [
(pkgs.callPackage ./ath10k.nix {})
];
};
}