liminix/modules/hostapd/default.nix

14 lines
263 B
Nix
Raw Normal View History

2023-07-16 18:50:06 +02:00
{ 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 {};
};
}