nixos-config/machines/nazuna/configuration.nix
Simon Bruder 10b8d432d5
Relicense
This applies the REUSE specification to the repository, so the licensing
information can be tracked for every file individually.
2024-01-13 14:39:22 +01:00

37 lines
759 B
Nix

# SPDX-FileCopyrightText: 2023-2024 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ 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;
};
}