open default http ports
This commit is contained in:
parent
dfd6707326
commit
ab61e6fc03
3 changed files with 10 additions and 3 deletions
|
|
@ -489,6 +489,7 @@ require("lazy").setup({
|
||||||
html = { filetypes = { "html", "twig", "hbs" } },
|
html = { filetypes = { "html", "twig", "hbs" } },
|
||||||
templ = { filetypes = { "templ" } },
|
templ = { filetypes = { "templ" } },
|
||||||
nil_ls = {},
|
nil_ls = {},
|
||||||
|
ocamllsp = {},
|
||||||
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
|
||||||
--
|
--
|
||||||
-- Some languages (like typescript) have entire language plugins that can be useful:
|
-- Some languages (like typescript) have entire language plugins that can be useful:
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,12 @@
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
|
|
||||||
networking.hostName = "lambdaOS"; # Define your hostname.
|
networking = {
|
||||||
|
hostName = "lambdaOS"; # Define your hostname.
|
||||||
|
extraHosts = ''
|
||||||
|
::1 noa.voorwaarts.nl
|
||||||
|
'';
|
||||||
|
};
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
|
|
@ -219,8 +224,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [ 2000 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
networking.firewall.allowedUDPPorts = [ 2000 ];
|
networking.firewall.allowedUDPPorts = [ 80 443 ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@
|
||||||
# Programming langs
|
# Programming langs
|
||||||
go
|
go
|
||||||
nodejs
|
nodejs
|
||||||
|
opam
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue