2024-01-27 18:41:31 -05:00
|
|
|
{config, ...}: {
|
|
|
|
sops.secrets.anki-pwd = {};
|
|
|
|
services.anki-sync-server = {
|
|
|
|
enable = true;
|
|
|
|
openFirewall = true;
|
2024-04-01 21:01:48 -04:00
|
|
|
address = "0.0.0.0";
|
2024-01-27 18:41:31 -05:00
|
|
|
port = 27701;
|
|
|
|
users = [
|
|
|
|
{
|
|
|
|
username = "notoh";
|
|
|
|
passwordFile = config.sops.secrets.anki-pwd.path;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|