nixos-config/machines/nazuna/configuration.nix

32 lines
614 B
Nix
Raw Permalink Normal View History

2023-10-04 17:02:16 +02:00
{ lib, pkgs, ... }:
2023-10-04 15:15:54 +02:00
{
imports = [
./hardware-configuration.nix
../../modules
];
sbruder = {
2023-10-04 17:02:16 +02:00
nginx.hardening.enable = true;
2023-10-04 15:15:54 +02:00
wireguard.home.enable = true;
};
networking.hostName = "nazuna";
system.stateVersion = "23.05";
2023-10-04 17:02:16 +02:00
services.nginx.enable = true;
2023-10-04 17:02:16 +02:00
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;
};
2023-10-04 15:15:54 +02:00
}