aboutsummaryrefslogtreecommitdiff
path: root/nix/users/fcuny/dev.nix
blob: 1f602c4e3b33631e1ab7a06539485b099ad7927d (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
53
54
{
  config,
  pkgs,
  ...
}:
{
  home.packages = with pkgs; [
    _1password-cli
    aider-chat
    wireshark

    # go
    go-tools
    golangci-lint
    gopls
    delve

    # python
    uv
    python3
    llmPython.llm

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

    # rust
    rustup
  ];

  programs.emacs = {
    enable = true;
    # https://github.com/NixOS/nixpkgs/issues/395169
    package = pkgs.emacs.override { withNativeCompilation = false; };
  };

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