2024-01-06 01:19:35 +01:00
|
|
|
# SPDX-FileCopyrightText: 2023-2024 Simon Bruder <simon@sbruder.de>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2023-05-06 10:54:03 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../modules
|
|
|
|
|
|
|
|
./services/proxy.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
sbruder = {
|
|
|
|
nginx.hardening.enable = true;
|
|
|
|
full = false;
|
|
|
|
wireguard.home.enable = true;
|
2024-01-03 12:04:26 +01:00
|
|
|
infovhost.enable = true;
|
2023-05-06 10:54:03 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
networking.hostName = "okarin";
|
|
|
|
|
2023-12-21 15:06:16 +01:00
|
|
|
system.stateVersion = "23.11";
|
2023-05-06 10:54:03 +02:00
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
|
|
80
|
|
|
|
443
|
|
|
|
];
|
|
|
|
}
|