diff options
Diffstat (limited to 'nix/profiles')
-rw-r--r-- | nix/profiles/home-manager/dev.nix | 31 |
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"; |