mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-03-13 16:03:25 +00:00
~
This commit is contained in:
parent
8037e88c20
commit
58fc0df360
1 changed files with 17 additions and 29 deletions
|
@ -20,7 +20,7 @@
|
|||
r5e.containers = {
|
||||
pihole = {
|
||||
enable = true;
|
||||
dhcp.enable = false;
|
||||
dhcp.enable = true;
|
||||
listenPortHTTP = 8080;
|
||||
listenPortHTTPS = 8443;
|
||||
openFirewall = true;
|
||||
|
@ -28,37 +28,25 @@
|
|||
};
|
||||
|
||||
services = {
|
||||
create_ap = {
|
||||
hostapd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
COUNTRY = "US";
|
||||
GATEWAY = "10.0.0.1";
|
||||
INTERNET_IFACE = "end0";
|
||||
NO_DNS = 1;
|
||||
PASSPHRASE = "techcat8";
|
||||
SSID = "near";
|
||||
WIFI_IFACE = "wlan0";
|
||||
radios.wlan0 = {
|
||||
band = "2g";
|
||||
channel = 7;
|
||||
countryCode = "US";
|
||||
networks.wlan0 = {
|
||||
authentication = {
|
||||
mode = "wpa2-sha256";
|
||||
wpaPassword = "techcat8";
|
||||
};
|
||||
logLevel = 1;
|
||||
ssid = "near";
|
||||
};
|
||||
settings = {
|
||||
ht_capab = lib.mkForce "[HT40][SHORT-GI-20]";
|
||||
};
|
||||
};
|
||||
};
|
||||
# hostapd = {
|
||||
# enable = true;
|
||||
# radios.wlan0 = {
|
||||
# band = "2g";
|
||||
# channel = 7;
|
||||
# countryCode = "US";
|
||||
# networks.wlan0 = {
|
||||
# authentication = {
|
||||
# mode = "wpa2-sha256";
|
||||
# wpaPassword = "techcat8";
|
||||
# };
|
||||
# logLevel = 1;
|
||||
# ssid = "near";
|
||||
# };
|
||||
# settings = {
|
||||
# ht_capab = lib.mkForce "[HT40][SHORT-GI-20]";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
networking = {
|
||||
|
|
Loading…
Add table
Reference in a new issue