1
mirror of https://github.com/wlcx/home.git synced 2025-12-07 19:13:45 +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" =
"~/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
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;

View File

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

View File

@ -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,

View File

@ -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 ];