nixos-config/machines/nazuna/configuration.nix
Simon Bruder 26d85e97aa
infovhost: Init
This avoids boilerplate code for displaying the imprint on the fqdn of
the machine.
2024-01-03 12:09:27 +01:00

33 lines
643 B
Nix

{ lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
];
sbruder = {
nginx.hardening.enable = true;
wireguard.home.enable = true;
infovhost.enable = true;
};
networking.hostName = "nazuna";
system.stateVersion = "23.05";
services.nginx.enable = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
systemd.services.nginx.serviceConfig.SupplementaryGroups = lib.singleton "keys";
sbruder.qbittorrent = {
enable = true;
fqdn = "sturzbach.sbruder.de";
};
services.nginx.virtualHosts."sturzbach.sbruder.de" = {
enableACME = true;
forceSSL = true;
};
}