dotfiles/nixos/boxes/vpsfree1/default.nix

38 lines
674 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
../cli.nix
2022-10-01 11:33:56 +01:00
../nginx.nix
2022-08-20 10:13:25 +01:00
./backups.nix
./blog.cyplo.net.nix
2022-10-22 20:34:06 +01:00
./cryptpad.nix
2022-10-23 00:06:39 +01:00
./fossil.nix
2022-10-22 20:34:06 +01:00
./foundryvtt.nix
2022-10-25 21:23:22 +01:00
./gitea.nix
2022-11-26 11:10:35 +00:00
./mastodon.nix
2022-10-01 11:33:56 +01:00
./matrix-front.nix
2022-10-22 20:34:06 +01:00
./rss.nix
./search.nix
2022-10-30 19:12:52 +00:00
./ssh.nix
2022-10-22 20:34:06 +01:00
./syncthing-relay.nix
2022-11-08 13:46:08 +00:00
./woodpecker.nix
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
2022-11-26 11:10:35 +00:00
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 50;
};
2022-11-26 13:26:12 +00:00
2022-03-06 20:18:50 +00:00
nix.buildCores = 7;
2022-03-05 14:34:27 +00:00
}