mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 15:45:39 +00:00
11 lines
220 B
Nix
11 lines
220 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
networking.hostName = "vps";
|
|
networking.domain = "";
|
|
networking.firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [ 22 80 443 ];
|
|
};
|
|
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
|
}
|