From 146076bad48f9d86451b4296d3e34504c75d7670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 29 Nov 2023 15:35:23 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20(hydrogen/services)=20format=20n?= =?UTF-8?q?etworking=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/hydrogen/system/networking/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hosts/hydrogen/system/networking/default.nix b/hosts/hydrogen/system/networking/default.nix index f4ed367..585ad52 100644 --- a/hosts/hydrogen/system/networking/default.nix +++ b/hosts/hydrogen/system/networking/default.nix @@ -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 ];