🎨 (hydrogen/services) format networking file
This commit is contained in:
parent
7da10c80f6
commit
146076bad4
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue