mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
chore(syncplay): move to hakurei
This commit is contained in:
parent
ed909897b3
commit
47d830eaed
8 changed files with 151 additions and 37 deletions
|
|
@ -20,6 +20,7 @@
|
|||
services = {
|
||||
tailscale.enable = true;
|
||||
samba.enable = true;
|
||||
syncplay.enable = true;
|
||||
vouch-proxy = {
|
||||
enable = true;
|
||||
displayName = "Vouch Proxy/local";
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf mkMerge;
|
||||
inherit (config.services) nginx;
|
||||
inherit (config.services) nginx syncplay;
|
||||
inherit (nginx) virtualHosts;
|
||||
hassVouch = false;
|
||||
in {
|
||||
|
|
@ -53,6 +53,7 @@ in {
|
|||
nixos.access.invidious
|
||||
nixos.wake-chen
|
||||
nixos.samba
|
||||
nixos.syncplay
|
||||
./reisen-ssh.nix
|
||||
];
|
||||
|
||||
|
|
@ -109,6 +110,15 @@ in {
|
|||
(mkIf config.services.tailscale.enable "smb.tail.${config.networking.domain}")
|
||||
];
|
||||
};
|
||||
syncplay = {
|
||||
inherit (syncplay) group;
|
||||
domain = "syncplay.${config.networking.domain}";
|
||||
extraDomainNames = [
|
||||
"syncplay.local.${config.networking.domain}"
|
||||
"syncplay.int.${config.networking.domain}"
|
||||
(mkIf config.services.tailscale.enable "syncplay.tail.${config.networking.domain}")
|
||||
];
|
||||
};
|
||||
sso = {
|
||||
inherit (nginx) group;
|
||||
domain = virtualHosts.keycloak.serverName;
|
||||
|
|
@ -400,6 +410,10 @@ in {
|
|||
services.samba.tls = {
|
||||
useACMECert = "samba";
|
||||
};
|
||||
services.syncplay = {
|
||||
openFirewall = true;
|
||||
useACMECert = "syncplay";
|
||||
};
|
||||
|
||||
services.tailscale.advertiseExitNode = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ in {
|
|||
nixos.access.nfandroidtv
|
||||
nixos.home-assistant
|
||||
nixos.zigbee2mqtt
|
||||
nixos.syncplay
|
||||
nixos.grocy
|
||||
nixos.barcodebuddy
|
||||
./cloudflared.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue