yuki: init anki-sync-server
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
All checks were successful
ci/woodpecker/push/checks Pipeline was successful
This commit is contained in:
parent
3260e6964e
commit
0fa030588d
2 changed files with 16 additions and 0 deletions
15
hosts/yuki/services/anki-sync-server.nix
Normal file
15
hosts/yuki/services/anki-sync-server.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{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;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -8,5 +8,6 @@
|
||||||
./wallos.nix
|
./wallos.nix
|
||||||
./homepage.nix
|
./homepage.nix
|
||||||
./searxng.nix
|
./searxng.nix
|
||||||
|
./anki-sync-server.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue