aboutsummaryrefslogtreecommitdiff
path: root/nix/users/fcuny/dev.nix
blob: 796fb222e86ded72eefb7782e01fd04bc7010cb1 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
  config,
  pkgs,
  ...
}:
{
  home.packages = with pkgs; [
    aider-chat
    basedpyright
    customPackages.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.alacritty = {
    enable = true;
    settings = {
      cursor = {
        style = "Block";
      };

      window = {
        opacity = 1.0;
        padding = {
          x = 2;
          y = 2;
        };
      };

      font = {
        normal = {
          family = "Source Code Pro";
          style = "Regular";
        };
        size = 16;
      };

      colors = {
        primary = {
          background = "0x1f2528";
          foreground = "0xc0c5ce";
        };

        normal = {
          black = "0x1f2528";
          red = "0xec5f67";
          green = "0x99c794";
          yellow = "0xfac863";
          blue = "0x6699cc";
          magenta = "0xc594c5";
          cyan = "0x5fb3b3";
          white = "0xc0c5ce";
        };

        bright = {
          black = "0x65737e";
          red = "0xec5f67";
          green = "0x99c794";
          yellow = "0xfac863";
          blue = "0x6699cc";
          magenta = "0xc594c5";
          cyan = "0x5fb3b3";
          white = "0xd8dee9";
        };
      };
    };
  };

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