summaryrefslogtreecommitdiff
path: root/install-imperative
diff options
context:
space:
mode:
Diffstat (limited to 'install-imperative')
-rwxr-xr-xinstall-imperative23
1 files changed, 23 insertions, 0 deletions
diff --git a/install-imperative b/install-imperative
new file mode 100755
index 0000000..b5699f5
--- /dev/null
+++ b/install-imperative
@@ -0,0 +1,23 @@
+#!/usr/bin/env bash
+# This script installs software which I rather not manage via Nix.
+# E.g. typos and pyright are updated so frequently that nixpkgs is bound to be outdated.
+# While I could declaratively install them via their version and hash I don't care enough
+# (I just want the latest).
+
+rustup toolchain install stable
+
+cargo install typos-cli
+
+npm install -g pyright
+
+# Mostly installing VSCodium extensions here since the pyright extension cannot
+# use the globally installed pyright (https://github.com/microsoft/pyright/issues/2035).
+code-ext() {
+ codium --install-extension "$1"
+}
+
+code-ext vscodevim.vim
+code-ext rust-lang.rust-analyzer
+code-ext ms-pyright.pyright
+code-ext aaron-bond.better-comments
+code-ext bbenoist.nix