liminix-fork/modules/hostapd/default.nix
2023-07-16 17:51:50 +01:00

13 lines
263 B
Nix

{ lib, pkgs, config, ...}:
let
inherit (lib) mkOption types;
in {
options = {
system.service.hostapd = mkOption {
type = types.functionTo types.package;
};
};
config = {
system.service.hostapd = pkgs.callPackage ./service.nix {};
};
}