1
1
Fork 1
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:
oddlama 2023-04-06 00:57:00 +02:00
parent 5d095392cf
commit c01ee0f409
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
6 changed files with 36 additions and 52 deletions

View file

@ -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 = {

View file

@ -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;

View file

@ -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
'';
};
};
};

View file

@ -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;
};