feat: several updates

This commit is contained in:
Xavier Morel
2025-12-09 14:35:20 +01:00
parent aec2e5bf63
commit a78704f30f
36 changed files with 826 additions and 150 deletions

23
containers/z2m.nix Normal file
View File

@@ -0,0 +1,23 @@
{ ... }:
{
my-lxc.z2m = {
container = {
cores = 1;
memory = 512;
disk = "6G";
swap = 512;
};
system = {
port = 80;
importConfig = [
../config/z2m-zigbee2mqtt.nix
];
};
logging = {
enable = true;
metricsEnable = true;
};
private = true; # available only on private lan
auth = true; # auth overlay
};
}