liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4596bc3e88fef314a9314db2b2ad6ad8d8d7e749
parent aa5f8c07e6028821b31705cd06def8e37a9ed6ea
Author: Daniel Barlow <dan@telent.net>
Date:   Mon,  6 Mar 2023 17:49:59 +0000

build smaller versions of hostap and nftables

Diffstat:
Moverlay.nix | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/overlay.nix b/overlay.nix @@ -16,6 +16,14 @@ extraPkgs // { (if o ? patches then o.patches else []) ++ (if patch_needed then [ patch ] else []); }); + + nftables = prev.nftables.overrideAttrs(o: { + configureFlags = [ + "--disable-debug" + "--disable-python" + "--with-mini-gmp" + "--without-cli" + ]; }); dnsmasq = @@ -29,6 +37,8 @@ extraPkgs // { nettle = null; }; + hostapd = prev.hostapd.override { sqlite = null; }; + dropbear = prev.dropbear.overrideAttrs (o: { postPatch = '' (echo '#define DSS_PRIV_FILENAME "/run/dropbear/dropbear_dss_host_key"'