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

    # python
    uv
    python3

    # 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.file.".config/just/justfile".text = builtins.readFile ../../../configs/justfile;

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