aboutsummaryrefslogtreecommitdiff
path: root/nix/users/fcuny/dev.nix
blob: 7126723bc495a269140cc35ae3c5478deeec05e0 (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
{ config, pkgs, ... }:
{
  home.packages = with pkgs; [
    # go
    go-tools
    golangci-lint
    gopls
    delve

    # nix
    nil # nix lsp
    nix-direnv # integration with direnv
    nixfmt-rfc-style # new formatter

    # rust
    rustup
  ];

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