274 current 2025-10-11 05:02:07 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 05:08:32 -05:00
parent 9fc91817fd
commit 1bab984f02
4 changed files with 15 additions and 18 deletions

View File

@@ -90,7 +90,7 @@ in
# };
sops.secrets = {
"${service}_password_file" = {
"${service}_hashed_passwd" = {
owner = "${service}";
group = "${service}";
};

View File

@@ -63,8 +63,8 @@ in
base_topic = "zigbee2mqtt";
client_id = "zigbee2mqtt";
server = "mqtt://localhost:1883";
user = "!/run/secrets/mosquitto_passwd passwd";
password = "!/run/secrets/mosquitto_passwd passwd";
user = "!/run/secrets/mosquitto_passwd user";
password = "!/run/secrets/mosquitto_passwd password"
keepalive = 20;
};
serial = {
@@ -103,13 +103,12 @@ in
proxyPass = "http://127.0.0.1:${toString cfg.port}";
};
};
#
# sops.secrets = {
# "${service}_" = {
# owner = "${service}";
# group = "${service}";
# };
# };
sops.secrets = {
"${service}_hashed_passwd" = {
owner = "${service}";
group = "${service}";
};
# add to backups
modules.system.backups.paths = lib.mkIf cfg.backup [ cfg.data_dir ];