mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: update modules from PRs
This commit is contained in:
parent
5d095392cf
commit
c01ee0f409
6 changed files with 36 additions and 52 deletions
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
nodeSecrets,
|
||||
...
|
||||
|
@ -8,12 +9,8 @@
|
|||
services.esphome = {
|
||||
enable = true;
|
||||
enableUnixSocket = true;
|
||||
allowedDevices = [
|
||||
{
|
||||
node = "/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0";
|
||||
modifier = "rw";
|
||||
}
|
||||
];
|
||||
#allowedDevices = lib.mkForce ["/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0"];
|
||||
# TODO instead deny the zigbee device
|
||||
};
|
||||
|
||||
systemd.services.nginx = {
|
||||
|
|
|
@ -120,6 +120,7 @@ in {
|
|||
'';
|
||||
};
|
||||
virtualHosts."${nodeSecrets.homeassistant.domain}" = {
|
||||
serverAliases = ["192.168.1.21"]; # TODO remove later
|
||||
forceSSL = true;
|
||||
#enableACME = true;
|
||||
sslCertificate = config.rekey.secrets."selfcert.crt".path;
|
||||
|
|
|
@ -20,17 +20,23 @@
|
|||
wifi4.capabilities = ["LDPC" "HT40+" "HT40-" "GF" "SHORT-GI-20" "SHORT-GI-40" "TX-STBC" "RX-STBC1"];
|
||||
networks.wlan1 = {
|
||||
inherit (nodeSecrets.hostapd) ssid;
|
||||
macAcl = "deny";
|
||||
macAcl = "allow";
|
||||
apIsolate = true;
|
||||
authentication = {
|
||||
saePasswordsFile = config.rekey.secrets.wifi-clients.path;
|
||||
saeAddToMacAllow = true;
|
||||
enableRecommendedPairwiseCiphers = true;
|
||||
};
|
||||
extraConfig = ''
|
||||
bssid=00:c0:ca:b1:4f:9e
|
||||
'';
|
||||
};
|
||||
networks.wlan1-1 = {
|
||||
networks.testtest = {
|
||||
ssid = "Open";
|
||||
authentication.mode = "none";
|
||||
extraConfig = ''
|
||||
bssid=00:c0:ca:b1:4f:9f
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
user = "zigbee2mqtt";
|
||||
password = "!${config.rekey.secrets."mosquitto-pw-zigbee2mqtt.yaml".path} password";
|
||||
};
|
||||
# TODO once > 1.30.2 is out
|
||||
# TODO once 1.30.3 is out
|
||||
# frontend.host = "/run/zigbee2mqtt/zigbee2mqtt.sock";
|
||||
frontend.port = 8072;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue