snowflake/hosts/yuki/services/anki-sync-server.nix

16 lines
296 B
Nix
Raw Normal View History

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;
}
];
};
}