nixos-config/machines/yuzuru/configuration.nix

35 lines
508 B
Nix
Raw Permalink Normal View History

2024-01-02 23:26:46 +01:00
{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
];
sbruder = {
nginx.hardening.enable = true;
full = false;
wireguard.home.enable = true;
};
networking.hostName = "yuzuru";
system.stateVersion = "23.11";
services.nginx = {
enable = true;
virtualHosts."yuzuru.sbruder.de" = {
enableACME = true;
forceSSL = true;
root = pkgs.sbruder.imprint;
};
};
networking.firewall.allowedTCPPorts = [
80
443
];
}