aboutsummaryrefslogtreecommitdiff
path: root/nixos/languages/python.nix
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2025-10-13 09:45:02 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2025-10-13 09:45:02 +0530
commit0af0bb31ead7ff59887bc1eeb66df992c9d15208 (patch)
treea4ec461ecc47e22263b4e5eb871f782c0f2b3410 /nixos/languages/python.nix
parent7b952dc9b6001f21cd73562fea6040b2d175b944 (diff)
wallpapers, docs + configuration language seperation & cleanup
Diffstat (limited to 'nixos/languages/python.nix')
-rw-r--r--nixos/languages/python.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/nixos/languages/python.nix b/nixos/languages/python.nix
new file mode 100644
index 0000000..111111b
--- /dev/null
+++ b/nixos/languages/python.nix
@@ -0,0 +1,19 @@
+{ config, pkgs, ... }:
+in {
+ environment.systemPackages = with pkgs; [
+ python312
+ python312Packages.psutil
+ pyright
+ (pkgs.python3.withPackages (ps: with ps; [
+ python-lsp-server
+ python-lsp-jsonrpc
+ python-lsp-black
+ python-lsp-ruff
+ pyls-isort
+ pyls-flake8
+ ruff
+ black
+ isort
+ ]))
+ ];
+}