use secrets in syncthing
This commit is contained in:
parent
39e2800916
commit
062609fabf
@ -244,6 +244,8 @@
|
|||||||
motiejus-passwd-hash.file = ./secrets/motiejus_passwd_hash.age;
|
motiejus-passwd-hash.file = ./secrets/motiejus_passwd_hash.age;
|
||||||
root-passwd-hash.file = ./secrets/root_passwd_hash.age;
|
root-passwd-hash.file = ./secrets/root_passwd_hash.age;
|
||||||
sasl-passwd.file = ./secrets/postfix_sasl_passwd.age;
|
sasl-passwd.file = ./secrets/postfix_sasl_passwd.age;
|
||||||
|
syncthing-key.file = ./secrets/fwminex/syncthing/key.pem.age;
|
||||||
|
syncthing-cert.file = ./secrets/fwminex/syncthing/cert.pem.age;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@ -126,6 +126,8 @@ in {
|
|||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
inherit (cfg) enable user group dataDir;
|
inherit (cfg) enable user group dataDir;
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
|
key = config.age.secrets.syncthing-key.path;
|
||||||
|
cert = config.age.secrets.syncthing-cert.path;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
devices =
|
devices =
|
||||||
|
Loading…
Reference in New Issue
Block a user