From f48322283217ef93515c76fe184b02b91d5f9c14 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 2 Oct 2026 17:18:58 +0200 Subject: feat(workstation): set up LSP with nvim --- nixos/profiles/workstation/dev.nix | 1 + nixos/profiles/workstation/graphical.nix | 4 ++++ nixos/profiles/workstation/pkgs/nvim.nix | 4 ++++ 3 files changed, 9 insertions(+) (limited to 'nixos') diff --git a/nixos/profiles/workstation/dev.nix b/nixos/profiles/workstation/dev.nix index 5ccca6f..7b47fe0 100644 --- a/nixos/profiles/workstation/dev.nix +++ b/nixos/profiles/workstation/dev.nix @@ -29,6 +29,7 @@ # language servers rust-analyzer nixd + taplo # documentation man-pages # Linux development manual pages diff --git a/nixos/profiles/workstation/graphical.nix b/nixos/profiles/workstation/graphical.nix index 5c82d49..c633456 100644 --- a/nixos/profiles/workstation/graphical.nix +++ b/nixos/profiles/workstation/graphical.nix @@ -52,6 +52,10 @@ [[ "$(tty)" == /dev/tty1 ]] && exec niri-session -l ''; + fonts.packages = with pkgs; [ + nerd-fonts.symbols-only + ]; + environment.systemPackages = with pkgs; [ wmenu i3bar-river diff --git a/nixos/profiles/workstation/pkgs/nvim.nix b/nixos/profiles/workstation/pkgs/nvim.nix index 46a678c..aaedda6 100644 --- a/nixos/profiles/workstation/pkgs/nvim.nix +++ b/nixos/profiles/workstation/pkgs/nvim.nix @@ -19,5 +19,9 @@ pkgs.wrapNeovimUnstable pkgs.neovim-unwrapped { svelte typescript ])) + + # For LSP. Language servers are installed in ../dev.nix. + nvim-lspconfig + blink-cmp ]; } -- cgit v1.3.1