From 1e7a7c24a36ac51064006d0584715e8de88a31aa Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Tue, 7 Dec 2021 16:55:40 +0000 Subject: [PATCH 1/3] gitea port --- roles/home/ssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/home/ssh.nix b/roles/home/ssh.nix index dc915fb..a625ef3 100644 --- a/roles/home/ssh.nix +++ b/roles/home/ssh.nix @@ -124,7 +124,7 @@ "git.giugl.io" = { user = "gitea"; - port = 10022; + port = 22; identityFile = "~/.ssh/gitea"; identitiesOnly = true; }; From 073c730b9fc9108d6f5d9d269eb101e0c340f9ad Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Wed, 8 Dec 2021 15:18:39 +0000 Subject: [PATCH 2/3] tmp on tmpfs --- roles/common.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/common.nix b/roles/common.nix index 994c114..71ab5af 100644 --- a/roles/common.nix +++ b/roles/common.nix @@ -1,6 +1,8 @@ { config, pkgs, variables, lib, ... }: { + boot.tmpOnTmpfs = true; + console = { keyMap = "us"; font = "Lat2-Terminus16"; From 854fbd439e4dc5107b3dccefd4744b14505394bb Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Wed, 8 Dec 2021 15:20:36 +0000 Subject: [PATCH 3/3] neovim lsp packages and config --- roles/home/common.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/home/common.nix b/roles/home/common.nix index 6ffe2c9..6d56b61 100644 --- a/roles/home/common.nix +++ b/roles/home/common.nix @@ -17,6 +17,9 @@ enable = true; extraPackages = with pkgs; [ nodePackages.prettier + nodePackages.pyright + rnix-lsp + rust-analyzer cmake-format clang-tools rustfmt @@ -85,6 +88,14 @@ " Enable trimmming of trailing whitespace let g:neoformat_basic_format_trim = 1 + + " lsp servers + lua << EOF + require'lspconfig'.pyright.setup{} + require'lspconfig'.rust_analyzer.setup{} + require'lspconfig'.rnix.setup{} + require'lspconfig'.clangd.setup{} + EOF ''; viAlias = true; @@ -103,6 +114,7 @@ vim-fugitive vimtex neoformat + nvim-lspconfig ]; }; }