1
mirror of https://github.com/wlcx/home.git synced 2025-12-08 19:43:46 +00:00

various updates

This commit is contained in:
Sam W 2025-10-07 18:24:21 +01:00
parent 924177bd4c
commit 84d4741d98
5 changed files with 19 additions and 3 deletions

View File

@ -16,5 +16,6 @@
extraOptions."IdentityAgent" = extraOptions."IdentityAgent" =
"~/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh"; "~/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)";
} }

View File

@ -13,16 +13,17 @@ rec {
unzip unzip
vim vim
wget wget
helix
]; ];
# Networking shit # Networking shit
net = [ net = [
dig dig
iperf3 iperf3
mtr
nmap nmap
socat socat
tcpdump tcpdump
whois
]; ];
# development tools # development tools
@ -32,6 +33,7 @@ rec {
gh gh
glab glab
hexyl hexyl
attic-client
]; ];
all = base ++ net ++ dev; all = base ++ net ++ dev;

View File

@ -5,7 +5,7 @@
... ...
}: }:
{ {
home.packages = with pkgs; [ nil ]; home.packages = with pkgs; [ nil nixd ];
programs.neovim.plugins = programs.neovim.plugins =
with pkgs.vimPlugins; with pkgs.vimPlugins;
[ [

View File

@ -54,6 +54,10 @@ require'lspconfig'.nil_ls.setup{
on_attach = on_attach, on_attach = on_attach,
capabilities = capabilities, capabilities = capabilities,
} }
require'lspconfig'.nixd.setup{
on_attach = on_attach,
capabilities = capabilities,
}
require'lspconfig'.rust_analyzer.setup{ require'lspconfig'.rust_analyzer.setup{
on_attach = on_attach, on_attach = on_attach,
capabilities = capabilities, capabilities = capabilities,
@ -71,6 +75,13 @@ require'lspconfig'.rust_analyzer.setup{
description = 'Open documentation for the symbol under the cursor in default browser', description = 'Open documentation for the symbol under the cursor in default browser',
}, },
}, },
settings = {
["rust-analyzer"] = {
procMacro = {
enable = false,
},
},
},
} }
require'lspconfig'.dhall_lsp_server.setup{ require'lspconfig'.dhall_lsp_server.setup{
on_attach = on_attach, on_attach = on_attach,

View File

@ -14,7 +14,9 @@
"update.mode" = "none"; "update.mode" = "none";
"window.autoDetectColorScheme" = true; "window.autoDetectColorScheme" = true;
"workbench.preferredDarkColorTheme" = "Gruvbox Dark Hard"; "workbench.preferredDarkColorTheme" = "Gruvbox Dark Hard";
"workbench.preferredLightColorTheme" = "Gruvbox Light Hard";
"files.trimTrailingWhitespace" = true; "files.trimTrailingWhitespace" = true;
"emmet.includeLanguages"."django-html" = "html";
# Don't try to write to the nix-managed .ssh/config # Don't try to write to the nix-managed .ssh/config
"remote.SSH.configFile" = "~/.ssh/config.local"; "remote.SSH.configFile" = "~/.ssh/config.local";
"editor.rulers" = [ 90 ]; "editor.rulers" = [ 90 ];