30 lines
715 B
Nix
30 lines
715 B
Nix
{ config, pkgs, inputs, lib, ... }: {
|
|
networking.hostName = "vpsfree1";
|
|
|
|
imports = [
|
|
./vpsfree1-vpsadminos.nix
|
|
./tailscale-vpsfree1.nix
|
|
../cli.nix
|
|
../../server-security.nix
|
|
../../server-common.nix
|
|
../../tailscale.nix
|
|
./foundryvtt.nix
|
|
./cryptpad.nix
|
|
];
|
|
|
|
networking.firewall.allowedTCPPorts = [ 22067 22070 ];
|
|
services.syncthing.relay = {
|
|
enable = true;
|
|
listenAddress = "vpsfree1.cyplo.github.beta.tailscale.net";
|
|
pools = [ "" ]; # private relay
|
|
extraOptions = [ "-debug" ];
|
|
};
|
|
systemd.extraConfig = ''
|
|
DefaultTimeoutStartSec=900s
|
|
'';
|
|
|
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
time.timeZone = "Europe/London";
|
|
|
|
nix.buildCores = 7;
|
|
}
|