mirror of
https://github.com/wlcx/home.git
synced 2025-12-07 19:13:45 +00:00
various updates
This commit is contained in:
parent
924177bd4c
commit
84d4741d98
@ -16,5 +16,6 @@
|
||||
extraOptions."IdentityAgent" =
|
||||
"~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
|
||||
};
|
||||
programs.zsh.initContent = "eval $(/opt/homebrew/bin/brew shellenv)";
|
||||
programs.zsh.sessionVariables.SSH_AUTH_SOCK = "$HOME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
|
||||
programs.zsh.initExtra = "eval $(/opt/homebrew/bin/brew shellenv)";
|
||||
}
|
||||
|
||||
@ -13,16 +13,17 @@ rec {
|
||||
unzip
|
||||
vim
|
||||
wget
|
||||
helix
|
||||
];
|
||||
|
||||
# Networking shit
|
||||
net = [
|
||||
dig
|
||||
iperf3
|
||||
mtr
|
||||
nmap
|
||||
socat
|
||||
tcpdump
|
||||
whois
|
||||
];
|
||||
|
||||
# development tools
|
||||
@ -32,6 +33,7 @@ rec {
|
||||
gh
|
||||
glab
|
||||
hexyl
|
||||
attic-client
|
||||
];
|
||||
|
||||
all = base ++ net ++ dev;
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = with pkgs; [ nil ];
|
||||
home.packages = with pkgs; [ nil nixd ];
|
||||
programs.neovim.plugins =
|
||||
with pkgs.vimPlugins;
|
||||
[
|
||||
|
||||
@ -54,6 +54,10 @@ require'lspconfig'.nil_ls.setup{
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require'lspconfig'.nixd.setup{
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
require'lspconfig'.rust_analyzer.setup{
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
@ -71,6 +75,13 @@ require'lspconfig'.rust_analyzer.setup{
|
||||
description = 'Open documentation for the symbol under the cursor in default browser',
|
||||
},
|
||||
},
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
procMacro = {
|
||||
enable = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
require'lspconfig'.dhall_lsp_server.setup{
|
||||
on_attach = on_attach,
|
||||
|
||||
@ -14,7 +14,9 @@
|
||||
"update.mode" = "none";
|
||||
"window.autoDetectColorScheme" = true;
|
||||
"workbench.preferredDarkColorTheme" = "Gruvbox Dark Hard";
|
||||
"workbench.preferredLightColorTheme" = "Gruvbox Light Hard";
|
||||
"files.trimTrailingWhitespace" = true;
|
||||
"emmet.includeLanguages"."django-html" = "html";
|
||||
# Don't try to write to the nix-managed .ssh/config
|
||||
"remote.SSH.configFile" = "~/.ssh/config.local";
|
||||
"editor.rulers" = [ 90 ];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user