nix/nixos/oracle/configuration.nix

24 lines
416 B
Nix

{ host, ... }:
{
imports = [
./hardware-configuration.nix
./forgejo.nix
];
boot.kernel.sysctl = {
"net.ipv4.ip_forward" = 1;
"net.ipv6.conf.all.forwarding" = 1;
};
system-net.openssh.ports = [22 2022];
networking = {
hostId = "00238132";
firewall = {
allowedTCPPorts = [
22
2022
80
443
];
};
};
system.stateVersion = "23.11";
}