1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# This module configures development tools for Python. {pkgs, ...}: { home.packages = with pkgs; [ (python311Full.withPackages (ps: with ps; [ virtualenv tkinter ])) ]; programs.neovim.extraLuaConfig = '' require("lspconfig")["pyright"].setup({ cmd = { "${pkgs.pyright}/bin/pyright-langserver", "--stdio" }, }) ''; }