14 lines
263 B
Nix
14 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 {};
|
||
|
};
|
||
|
}
|