manatee: Use secrets for syncthing cert/key

This commit is contained in:
Alexander Heldt
2025-05-18 15:07:00 +00:00
parent 173e7acec8
commit 62a9709ff5

View File

@@ -13,6 +13,9 @@ in
services.syncthing = {
enable = true;
cert = config.age.secrets.syncthing-cert.path;
key = config.age.secrets.syncthing-key.path;
user = "storage";
group = "storage";
@@ -32,5 +35,12 @@ in
folders = { };
};
};
age = {
secrets = {
"syncthing-cert".file = ../../../../secrets/manatee/syncthing-cert.age;
"syncthing-key".file = ../../../../secrets/manatee/syncthing-key.age;
};
};
};
}