From 5a6d11fc99512e9b29b621c58e4d60149fdddd3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Wed, 10 Apr 2024 10:07:32 +0200 Subject: [PATCH] Add some rust stuff --- home/editor/neovim/plugins.lua | 2 ++ home/packages/default.nix | 9 ++++++--- home/zsh/default.nix | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/home/editor/neovim/plugins.lua b/home/editor/neovim/plugins.lua index bcae021..ae18cb5 100644 --- a/home/editor/neovim/plugins.lua +++ b/home/editor/neovim/plugins.lua @@ -121,6 +121,8 @@ lspconfig.tsserver.setup({ }, }) +lspconfig.rust_analyzer.setup { +} -- Telescope require('telescope').setup({ diff --git a/home/packages/default.nix b/home/packages/default.nix index 29013af..7e4d36d 100644 --- a/home/packages/default.nix +++ b/home/packages/default.nix @@ -16,6 +16,7 @@ in bzip2 croc easyeffects + eza fd ffmpeg file @@ -82,12 +83,14 @@ in poetry ruff + # rust stuff + rustc + cargo + rust-analyzer + # blender unstable.blender - # Rust - rustup - # Homemade shit notlistener ghettoptt diff --git a/home/zsh/default.nix b/home/zsh/default.nix index 1623b2b..9e1cd26 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -18,6 +18,10 @@ promptinit prompt pure export PATH="''${KREW_ROOT:-$HOME/.krew}/bin:$PATH" + + # Aliases + alias ls=eza + alias find=fd ''; zplug = { enable = true;