mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-05-02 19:53:07 +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 = {
|
r5e.containers = {
|
||||||
pihole = {
|
pihole = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dhcp.enable = false;
|
dhcp.enable = true;
|
||||||
listenPortHTTP = 8080;
|
listenPortHTTP = 8080;
|
||||||
listenPortHTTPS = 8443;
|
listenPortHTTPS = 8443;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
@ -28,37 +28,25 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
create_ap = {
|
hostapd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
radios.wlan0 = {
|
||||||
COUNTRY = "US";
|
band = "2g";
|
||||||
GATEWAY = "10.0.0.1";
|
channel = 7;
|
||||||
INTERNET_IFACE = "end0";
|
countryCode = "US";
|
||||||
NO_DNS = 1;
|
networks.wlan0 = {
|
||||||
PASSPHRASE = "techcat8";
|
authentication = {
|
||||||
SSID = "near";
|
mode = "wpa2-sha256";
|
||||||
WIFI_IFACE = "wlan0";
|
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 = {
|
networking = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue