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

16 lines
306 B
Nix

{ config, ... }:
{
sops.secrets.anki-pwd = { };
services.anki-sync-server = {
enable = true;
openFirewall = true;
address = "100.108.113.89";
port = 27701;
users = [
{
username = "notoh";
passwordFile = config.sops.secrets.anki-pwd.path;
}
];
};
}