aboutsummaryrefslogtreecommitdiff
path: root/share/home/dev-stuff.nix
blob: fb7d38f74c402f89e1e260012ef62f58c366157a (plain)
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
97
98
99
100
101
{ pkgs, ... }:
let
  python = pkgs.python313.withPackages (
    python-pkgs: with python-pkgs; [
      beautifulsoup4
      types-beautifulsoup4
      requests
      python-lsp-server
      ruff
      rdflib
      flask
      flake8
      warcio
      llm
    ]
  );
  # llama-cpp = pkgs.llama-cpp.override {
  #   openclSupport = true;
  #   vulkanSupport = true;
  # };
in
{
  home.packages =
    [
      python
      pkgs.beamPackages.rebar3
      # llama-cpp
    ]
    ++ builtins.attrValues {
      inherit (pkgs)
        git
        gitui
        scheme-manpages
        guile
        gcc
        rustup
        just
        gnumake
        uv
        web-ext
        nodejs_24
        bun
        postgresql_17 # for the CLI tools
        pgcli
        podman-compose
        git-annex
        git-remote-gcrypt
        idris2
        xh # Convenient HTTP client for testing
        typos
        aider-chat
        typescript-language-server
        duckdb
        dhall
        dhall-json
        dhall-lsp-server
        lua
        lua-language-server
        deno
        nickel
        nls
        go
        gopls
        koto
        koto-ls
        gleam
        erlang
        sqlx-cli
        cachix
        process-compose

        # TUI/GUI
        zed-editor
        koboldcpp
        vscodium-fhs
        dbeaver-bin
        ;
    };

  home.file.guile-init = {
    target = ".guile";
    text = ''
      (use-modules (ice-9 readline))
      (activate-readline)
    '';
  };

  programs.git.enable = true;
  programs.jujutsu.enable = true;
  services.emacs.enable = true;
  programs.helix = {
    enable = true;
    defaultEditor = true;
  };

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

}