nixos-config/machines/yuzuru/configuration.nix

37 lines
646 B
Nix
Raw Normal View History

2021-09-08 18:23:21 +02:00
{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
2021-12-11 20:28:44 +01:00
./services/schabernack.nix
2021-09-08 18:23:21 +02:00
];
sbruder = {
nginx.hardening.enable = true;
wireguard.home.enable = true;
full = false;
trusted = false;
};
networking.hostName = "yuzuru";
system.stateVersion = "21.05";
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx = {
enable = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
};
services.journald.extraConfig = ''
MaxRetentionSec=1week
'';
}