servers: set up syncplay

This commit is contained in:
insects 2024-11-06 11:29:37 +01:00
parent 870c79dc38
commit 1adb0cf84a
3 changed files with 22 additions and 7 deletions

17
servers/flake.lock generated
View file

@ -54,15 +54,18 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1723991338,
"narHash": "sha256-Grh5PF0+gootJfOJFenTTxDTYPidA3V28dqJ/WV7iis=",
"path": "/nix/store/d9gbq853jvbccrz5g3y0irbwgc57w137-source",
"rev": "8a3354191c0d7144db9756a74755672387b702ba",
"type": "path"
"lastModified": 1730531603,
"narHash": "sha256-Dqg6si5CqIzm87sp57j5nTaeBbWhHFaVyG7V6L8k3lY=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "7ffd9ae656aec493492b44d0ddfb28e79a1ea25d",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {

View file

@ -1,6 +1,7 @@
{
description = "The flake that describes my server configurations";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
inputs.deploy-rs.url = "github:serokell/deploy-rs";
outputs = { self, nixpkgs, deploy-rs, }: {

View file

@ -34,6 +34,11 @@
25565 # minecraft
];
services.syncplay = {
enable = true;
motd = "START SUCKING!!!!";
};
services.forgejo = {
enable = true;
lfs.enable = true;
@ -68,6 +73,12 @@
reverse_proxy localhost:3000
'';
};
"watch.with.al" = {
extraConfig = ''
reverse_proxy localhost:8999
'';
};
};
};