about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-10-26 10:52:55 -0700
committerFranck Cuny <franck@fcuny.net>2024-10-26 10:52:55 -0700
commitd59a9a7d5ced42e5c9462b37a113d96ca73458a1 (patch)
tree8a587a5baedb738c656af023d71c415b9335f5aa /nix
parentadd the font cascadia (diff)
downloadworld-d59a9a7d5ced42e5c9462b37a113d96ca73458a1.tar.gz
don't pin to a specific version of Go
Drop python packages, they will be installed as needed per projects.
Diffstat (limited to 'nix')
-rw-r--r--nix/profiles/home-manager/dev.nix31
1 files changed, 5 insertions, 26 deletions
diff --git a/nix/profiles/home-manager/dev.nix b/nix/profiles/home-manager/dev.nix
index 24a8c5e..02eb566 100644
--- a/nix/profiles/home-manager/dev.nix
+++ b/nix/profiles/home-manager/dev.nix
@@ -1,23 +1,10 @@
-{ pkgs
-, config
-, ...
-}:
-let
-  pythonEnv = pkgs.python3.withPackages (p:
-    with p; [
-      pylsp-mypy
-      python-lsp-ruff
-      python-lsp-server
-      ruff-lsp
-    ]);
-in
-{
+{ pkgs, config, ... }: {
+
   programs.go = {
     enable = true;
     goPath = ".local/share/pkg.go";
     goBin = ".local/bin.go";
-    package = pkgs.go_1_21;
-    goPrivate = [ "github.rbx.com/*" "github.com/fcuny/*" ];
+    goPrivate = [ "github.rbx.com/*" "github.com/fcuny/*" "git.fcuny.net/*" ];
   };
 
   home.packages = with pkgs; [
@@ -25,9 +12,7 @@ in
     go-tools
     golangci-lint
     gopls
-
-    # rust
-    rustup
+    delve
 
     # docker
     dive # explore layers in docker images
@@ -39,15 +24,9 @@ in
     google-cloud-sdk
     kubectl
     tfswitch
-
-    # python
-    pythonEnv
-    ruff
   ];
 
-  home.sessionPath = [
-    config.home.sessionVariables.GOBIN
-  ];
+  home.sessionPath = [ config.home.sessionVariables.GOBIN ];
 
   home.sessionVariables = with config.xdg; {
     IPYTHONDIR = "${cacheHome}/ipython";