diff --git a/common/nvim/init.lua b/common/nvim/init.lua index 858c11b..cf5783c 100644 --- a/common/nvim/init.lua +++ b/common/nvim/init.lua @@ -489,6 +489,7 @@ require("lazy").setup({ html = { filetypes = { "html", "twig", "hbs" } }, templ = { filetypes = { "templ" } }, nil_ls = {}, + ocamllsp = {}, -- ... 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: diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 9b0dbdd..59478a4 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -20,7 +20,12 @@ hardware.enableRedistributableFirmware = 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. # Configure network proxy if necessary @@ -219,8 +224,8 @@ }; # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [ 2000 ]; - networking.firewall.allowedUDPPorts = [ 2000 ]; + networking.firewall.allowedTCPPorts = [ 80 443 ]; + networking.firewall.allowedUDPPorts = [ 80 443 ]; # Or disable the firewall altogether. # networking.firewall.enable = false; diff --git a/hosts/default/home.nix b/hosts/default/home.nix index 14995f5..9e71ba8 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -61,6 +61,7 @@ # Programming langs go nodejs + opam ];