aboutsummaryrefslogtreecommitdiff
path: root/nix/users/profiles/dev.nix
blob: c996aeba3c52241d6c178a8ba126680d262ad41f (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
{
  config,
  pkgs,
  ...
}:
{
  home.packages = with pkgs; [
    aider-chat
    basedpyright
    llmPython.llm # llm and claude support
    delve
    dive # explore layers in docker images
    docker
    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
    ruff
    # ruff-lsp
    rustup
    uv
    wireshark
  ];

  programs.direnv = {
    enable = true;
    nix-direnv.enable = true;
  };

  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"
  ];
}