Update nixunstable
Update dnsmasq to new format to avoid deprecation issues Add smart home energy modules to Home Assistant
This commit is contained in:
Generated
+3
-3
@@ -143,11 +143,11 @@
|
|||||||
},
|
},
|
||||||
"nixunstable": {
|
"nixunstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1673540789,
|
"lastModified": 1676300157,
|
||||||
"narHash": "sha256-xqnxBOK3qctIeUVxecydrEDbEXjsvHCPGPbvsl63M/U=",
|
"narHash": "sha256-1HjRzfp6LOLfcj/HJHdVKWAkX9QRAouoh6AjzJiIerU=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0f213d0fee84280d8c3a97f7469b988d6fe5fcdf",
|
"rev": "545c7a31e5dedea4a6d372712a18e00ce097d462",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -21,25 +21,6 @@ let
|
|||||||
];
|
];
|
||||||
|
|
||||||
extraConfig = builtins.concatStringsSep "\n" [
|
extraConfig = builtins.concatStringsSep "\n" [
|
||||||
"expand-hosts"
|
|
||||||
"domain=thehellings.lan"
|
|
||||||
"log-dhcp"
|
|
||||||
"log-queries"
|
|
||||||
"addn-hosts=/etc/adblock_hosts"
|
|
||||||
|
|
||||||
# "dhcp-range=eth0,10.42.0.1,10.42.1.255,255.255.0.0,static"
|
|
||||||
"dhcp-range=eth0,10.42.2.1,10.42.2.255,255.255.0.0,12h"
|
|
||||||
"dhcp-option=eth0,option:router,10.42.1.1"
|
|
||||||
"dhcp-option=eth0,option:dns-server,10.42.1.2,1.1.1.1"
|
|
||||||
"dhcp-option=eth0,option:domain-search,thehellings.lan"
|
|
||||||
|
|
||||||
"dhcp-range=vlan66@eth0,192.168.66.3,192.168.66.150,255.255.255.0,12h"
|
|
||||||
"dhcp-option=vlan66@eth0,option:router,192.168.66.1"
|
|
||||||
"dhcp-option=vlan66@eth0,option:dns-server,192.168.66.2"
|
|
||||||
|
|
||||||
"dhcp-range=vlan67@eth0,192.168.67.3,192.168.67.150,12h"
|
|
||||||
"dhcp-option=vlan67@eth0,option:router,192.168.67.1"
|
|
||||||
"dhcp-option=vlan67@eth0,option:dns-server,192.168.67.2"
|
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -47,10 +28,34 @@ in
|
|||||||
services.dnsmasq = {
|
services.dnsmasq = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Public AdGuard DNS servers
|
# Public AdGuard DNS servers
|
||||||
servers = [
|
settings = {
|
||||||
|
domain = "thehellings.lan";
|
||||||
|
dhcp-range = [
|
||||||
|
# "eth0,10.42.0.1,10.42.1.255,255.255.0.0,static"
|
||||||
|
"eth0,10.42.2.1,10.42.2.255,255.255.0.0,12h"
|
||||||
|
"vlan66@eth0,192.168.66.3,192.168.66.150,255.255.255.0,12h"
|
||||||
|
"vlan67@eth0,192.168.67.3,192.168.67.150,12h"
|
||||||
|
];
|
||||||
|
dhcp-option = [
|
||||||
|
"eth0,option:router,10.42.1.1"
|
||||||
|
"eth0,option:dns-server,10.42.1.2,1.1.1.1"
|
||||||
|
"eth0,option:domain-search,thehellings.lan"
|
||||||
|
|
||||||
|
"vlan66@eth0,option:router,192.168.66.1"
|
||||||
|
"vlan66@eth0,option:dns-server,192.168.66.2"
|
||||||
|
|
||||||
|
"vlan67@eth0,option:router,192.168.67.1"
|
||||||
|
"vlan67@eth0,option:dns-server,192.168.67.2"
|
||||||
|
];
|
||||||
|
expand-hosts = true;
|
||||||
|
log-dhcp = true;
|
||||||
|
log-queries = true;
|
||||||
|
addn-hosts = "/etc/adblock_hosts";
|
||||||
|
server = [
|
||||||
"94.140.14.14"
|
"94.140.14.14"
|
||||||
"94.140.15.15"
|
"94.140.15.15"
|
||||||
];
|
];
|
||||||
|
};
|
||||||
extraConfig = "${extraConfig}";
|
extraConfig = "${extraConfig}";
|
||||||
};
|
};
|
||||||
environment.systemPackages = [ pkgs.curl ];
|
environment.systemPackages = [ pkgs.curl ];
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ in
|
|||||||
"eufy"
|
"eufy"
|
||||||
"lovelace"
|
"lovelace"
|
||||||
"nextcloud"
|
"nextcloud"
|
||||||
|
"smart_meter_texas"
|
||||||
|
"solaredge"
|
||||||
"tplink"
|
"tplink"
|
||||||
"wiz"
|
"wiz"
|
||||||
"zwave_js"
|
"zwave_js"
|
||||||
|
|||||||
Reference in New Issue
Block a user