2022-03-03 09:48:22 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../modules
|
2022-03-03 12:13:58 +01:00
|
|
|
|
2022-03-03 12:38:32 +01:00
|
|
|
./services/invidious
|
2022-03-03 12:19:31 +01:00
|
|
|
./services/libreddit.nix
|
2022-03-03 12:13:58 +01:00
|
|
|
./services/sbruder.xyz
|
2022-03-03 09:48:22 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
sbruder = {
|
|
|
|
nginx.hardening.enable = true;
|
|
|
|
restic.system.enable = true;
|
|
|
|
wireguard.home.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.hostName = "okarin";
|
|
|
|
|
|
|
|
system.stateVersion = "21.11";
|
2022-03-03 12:13:58 +01:00
|
|
|
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
recommendedGzipSettings = true;
|
|
|
|
recommendedOptimisation = true;
|
|
|
|
recommendedProxySettings = true;
|
|
|
|
recommendedTlsSettings = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
|
|
80
|
|
|
|
443
|
|
|
|
];
|
2022-03-03 09:48:22 +01:00
|
|
|
}
|