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

View file

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

View file

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