Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
56f36d711f
@ -1,6 +1,8 @@
|
||||
{ config, pkgs, variables, lib, ... }:
|
||||
|
||||
{
|
||||
boot.tmpOnTmpfs = true;
|
||||
|
||||
console = {
|
||||
keyMap = "us";
|
||||
font = "Lat2-Terminus16";
|
||||
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -124,7 +124,7 @@
|
||||
|
||||
"git.giugl.io" = {
|
||||
user = "gitea";
|
||||
port = 10022;
|
||||
port = 22;
|
||||
identityFile = "~/.ssh/gitea";
|
||||
identitiesOnly = true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user