🎨 (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 = {
# the name of the machine
hostName = "hydrogen";
# the domain used for the machine
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 = {
allowedTCPPorts = [
22 # ssh
624 # ssh
80 # http
443 # https
];