diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-02 17:18:58 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-30 18:02:24 +0100 |
| commit | f48322283217ef93515c76fe184b02b91d5f9c14 (patch) | |
| tree | 60e4eaeaf2d8864e14eb5528b97c5394209ff0fa /nixos | |
| parent | d31b120ac5b97db1a0f91b0ba5cfc64e7d0b96fd (diff) | |
feat(workstation): set up LSP with nvim
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/profiles/workstation/dev.nix | 1 | ||||
| -rw-r--r-- | nixos/profiles/workstation/graphical.nix | 4 | ||||
| -rw-r--r-- | nixos/profiles/workstation/pkgs/nvim.nix | 4 |
3 files changed, 9 insertions, 0 deletions
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 ]; } |
