raito
98a33e4300
With: - A package hierarchy - A source-based Gerrit deployment Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
25 lines
632 B
Nix
25 lines
632 B
Nix
{ lib, pkgs, ... }: {
|
|
nixpkgs.overlays = import ../overlays;
|
|
|
|
nix.package = pkgs.lix;
|
|
services.openssh.enable = lib.mkForce true;
|
|
|
|
networking.firewall.enable = true;
|
|
networking.firewall.logRefusedConnections = false;
|
|
networking.firewall.logReversePathDrops = true;
|
|
|
|
services.nginx = {
|
|
recommendedOptimisation = lib.mkDefault true;
|
|
recommendedTlsSettings = lib.mkDefault true;
|
|
recommendedProxySettings = lib.mkDefault true;
|
|
recommendedGzipSettings = lib.mkDefault true;
|
|
};
|
|
|
|
nix.gc = {
|
|
automatic = true;
|
|
persistent = true;
|
|
dates = "daily";
|
|
options = "--delete-older-than 30d";
|
|
};
|
|
}
|