2024-05-18 15:48:01 +02:00
|
|
|
# SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
../../modules
|
2024-08-20 22:57:55 +02:00
|
|
|
|
2024-08-22 23:12:58 +02:00
|
|
|
./services/bang-evaluator.nix
|
2024-08-20 22:57:55 +02:00
|
|
|
./services/languagetool.nix
|
2024-05-18 15:48:01 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
sbruder = {
|
|
|
|
full = false;
|
2024-08-22 16:13:13 +02:00
|
|
|
restic = {
|
|
|
|
enable = true;
|
|
|
|
backups.system.enable = true;
|
|
|
|
};
|
2024-05-18 15:48:01 +02:00
|
|
|
wireguard.home.enable = true;
|
|
|
|
infovhost.enable = true;
|
2024-08-20 22:57:55 +02:00
|
|
|
nginx = {
|
|
|
|
hardening.enable = true;
|
|
|
|
proxyv4.enable = true;
|
|
|
|
};
|
2024-05-18 15:48:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
networking.hostName = "hiroshi";
|
|
|
|
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
|
|
}
|