manatee: Use secrets for syncthing cert/key
This commit is contained in:
@@ -13,6 +13,9 @@ in
|
|||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
cert = config.age.secrets.syncthing-cert.path;
|
||||||
|
key = config.age.secrets.syncthing-key.path;
|
||||||
|
|
||||||
user = "storage";
|
user = "storage";
|
||||||
group = "storage";
|
group = "storage";
|
||||||
|
|
||||||
@@ -32,5 +35,12 @@ in
|
|||||||
folders = { };
|
folders = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
age = {
|
||||||
|
secrets = {
|
||||||
|
"syncthing-cert".file = ../../../../secrets/manatee/syncthing-cert.age;
|
||||||
|
"syncthing-key".file = ../../../../secrets/manatee/syncthing-key.age;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user