aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-10-02 17:18:58 +0200
committerMartin Fischer <martin@push-f.com>2026-10-31 08:43:08 +0100
commitb6f87c0f1308cd4c3bd7d170970705476ccbf5bc (patch)
tree11d824ebb0fdb0a029365ff8c84fb1655c1043ed /nixos
parentb3116a2edaaad9e44baef014749ccec9c75559c7 (diff)
feat(workstation): set up LSP with nvim
Diffstat (limited to 'nixos')
-rw-r--r--nixos/profiles/workstation/dev.nix1
-rw-r--r--nixos/profiles/workstation/graphical.nix4
-rw-r--r--nixos/profiles/workstation/pkgs/nvim.nix4
3 files changed, 9 insertions, 0 deletions
diff --git a/nixos/profiles/workstation/dev.nix b/nixos/profiles/workstation/dev.nix
index 4c986a1..1b9100b 100644
--- a/nixos/profiles/workstation/dev.nix
+++ b/nixos/profiles/workstation/dev.nix
@@ -29,6 +29,7 @@
# language servers
nixd
rust-analyzer
+ 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
];
}