🎨 (hydrogen/services) format networking file

This commit is contained in:
Laureηt 2023-11-29 15:35:23 +01:00
parent 7da10c80f6
commit 146076bad4
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -1,10 +1,18 @@
{ ... }: { { ... }: {
networking = { networking = {
# the name of the machine
hostName = "hydrogen"; hostName = "hydrogen";
# the domain used for the machine
domain = "fainsin.bzh"; domain = "fainsin.bzh";
# domain name servers, use clouflare family
networking.nameservers = [ "1.1.1.2" "1.0.0.2" ];
# TODO: bouger ça à côté des applications
firewall = { firewall = {
allowedTCPPorts = [ allowedTCPPorts = [
22 # ssh 624 # ssh
80 # http 80 # http
443 # https 443 # https
]; ];