feat(service): add ntfy

This commit is contained in:
2026-03-14 08:35:29 +01:00
parent a96c1e8d92
commit fdb347c0e6
5 changed files with 47 additions and 6 deletions
+20 -3
View File
@@ -1,6 +1,23 @@
{ ... }:
{ config, ... }:
{
sops.secrets = {
nextcloud_password.sopsFile = ../../secrets/bomba.sops.yaml;
sops = {
secrets = {
nextcloud_password = {
owner = "nextcloud";
sopsFile = ../../secrets/bomba.sops.yaml;
};
ntfy_users = {
owner = "ntfy-sh";
sopsFile = ../../secrets/bomba.sops.yaml;
};
ntfy_access = {
owner = "ntfy-sh";
sopsFile = ../../secrets/bomba.sops.yaml;
};
};
templates."ntfy.env".content = ''
NTFY_AUTH_USERS='${config.sops.placeholder.ntfy_users}'
NTFY_AUTH_ACCESS='${config.sops.placeholder.ntfy_access}'
'';
};
}