nixos-config/machines/okarin/configuration.nix

32 lines
532 B
Nix
Raw Normal View History

# 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/static-sites.nix
2023-05-06 10:54:03 +02:00
./services/proxy.nix
];
sbruder = {
nginx.hardening.enable = true;
full = false;
wireguard.home.enable = true;
infovhost.enable = true;
2023-05-06 10:54:03 +02:00
};
networking.hostName = "okarin";
system.stateVersion = "22.11";
networking.firewall.allowedTCPPorts = [
80
443
];
}