dotfiles/nixos/boxes/vpsfree1/default.nix

31 lines
715 B
Nix
Raw Normal View History

2022-03-10 12:25:23 +00:00
{ config, pkgs, inputs, lib, ... }: {
2022-03-05 14:34:27 +00:00
networking.hostName = "vpsfree1";
imports = [
./vpsfree1-vpsadminos.nix
./tailscale-vpsfree1.nix
../cli.nix
../../server-security.nix
2022-06-03 21:45:58 +01:00
../../server-common.nix
2022-03-05 14:34:27 +00:00
../../tailscale.nix
2022-06-18 08:44:06 +01:00
./foundryvtt.nix
2022-07-19 13:20:48 +01:00
./cryptpad.nix
2022-03-05 14:34:27 +00:00
];
2022-07-20 22:02:07 +01:00
networking.firewall.allowedTCPPorts = [ 22067 22070 ];
services.syncthing.relay = {
enable = true;
listenAddress = "vpsfree1.cyplo.github.beta.tailscale.net";
pools = [ "" ]; # private relay
extraOptions = [ "-debug" ];
};
2022-03-05 14:34:27 +00:00
systemd.extraConfig = ''
DefaultTimeoutStartSec=900s
'';
2022-03-06 20:18:50 +00:00
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
2022-03-05 14:34:27 +00:00
time.timeZone = "Europe/London";
2022-03-06 20:18:50 +00:00
nix.buildCores = 7;
2022-03-05 14:34:27 +00:00
}