Simon Bruder
26d85e97aa
This avoids boilerplate code for displaying the imprint on the fqdn of the machine.
28 lines
416 B
Nix
28 lines
416 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules
|
|
|
|
./services/static-sites.nix
|
|
./services/proxy.nix
|
|
];
|
|
|
|
sbruder = {
|
|
nginx.hardening.enable = true;
|
|
full = false;
|
|
wireguard.home.enable = true;
|
|
infovhost.enable = true;
|
|
};
|
|
|
|
networking.hostName = "okarin";
|
|
|
|
system.stateVersion = "22.11";
|
|
|
|
networking.firewall.allowedTCPPorts = [
|
|
80
|
|
443
|
|
];
|
|
}
|