aboutsummaryrefslogtreecommitdiff
path: root/nix/users/profiles/dev.nix
blob: 0c9a07cf65cd194b61956b58961ebf9062a5fd68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
  config,
  pkgs,
  ...
}:
{
  home.packages =
    with pkgs;
    [
      docker
      docker-credential-helpers
      dive # explore layers in docker images
      wireshark
    ]
    ++ [
      llmPython.llm # llm and claude support
      aider-chat
    ]
    ++ [
      delve
      go-tools # collection of tools, https://github.com/dominikh/go-tools
      golangci-lint
      gopls
    ]
    ++ [
      nil # nix lsp
      nix-direnv # integration with direnv
      nixfmt-rfc-style # new formatter
    ]
    ++ [
      python3
      basedpyright
      ruff
      # ruff-lsp
      uv
    ];

  programs.go = {
    enable = true;
    goPath = ".local/share/pkg.go";
    goBin = ".local/bin.go";
    goPrivate = [
      "github.rbx.com/*"
      "github.com/fcuny/*"
    ];
  };

  home.sessionPath = [
    config.home.sessionVariables.GOBIN
    "${config.home.homeDirectory}/.local/bin"
  ];
}