mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
16 lines
315 B
Nix
16 lines
315 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
users.users.syncplay = { isSystemUser = true; };
|
|
|
|
services.syncplay = {
|
|
enable = true;
|
|
user = "syncplay";
|
|
group = "kittywit-ch";
|
|
certDir = "/var/lib/acme/sync.kittywit.ch/";
|
|
};
|
|
|
|
security.acme.certs."sync.kittywit.ch".postRun = ''
|
|
cp key.pem privkey.pem
|
|
'';
|
|
}
|