38 lines
696 B
Nix
38 lines
696 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
let
|
|
p = import ../parameters.nix;
|
|
in
|
|
{
|
|
|
|
age.secrets = {
|
|
mqtt-password.file = ../../secrets/mqtt-password.age;
|
|
zigbee2mqtt-password.file = ../../secrets/zigbee2mqtt-password.age;
|
|
};
|
|
|
|
my = {
|
|
|
|
networking = {
|
|
zigbee2mqtt = {
|
|
enable = true;
|
|
enable-metric = true;
|
|
mqtt-passwordFile = config.age.secrets.mqtt-password.path;
|
|
z2mqtt-passwordFile = config.age.secrets.zigbee2mqtt-password.path;
|
|
};
|
|
};
|
|
|
|
utils = {
|
|
commons.enable = true;
|
|
commons.gc.enable = true;
|
|
lxc-standard.enable = true;
|
|
};
|
|
|
|
virtualisation.proxmox.enable = true;
|
|
};
|
|
|
|
system.stateVersion = "25.05";
|
|
}
|