summaryrefslogtreecommitdiff
path: root/hosts/muhammed/home/dev-utils/default.nix
blob: ac63f3dc9a75d2c0160f59283a2fb5a4a3275499 (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
# This part (module) of my home manager configuration adds some random utilities.
{
  pkgs,
  lib,
  ...
}: {
  home.packages = with pkgs; [
    # smol utils
    nodePackages_latest.nodemon
    rlwrap

    # heavy hitters
    imagemagick
    ffmpeg_6-full

    # interpreaters
    cling
    unstable.deno
    (python311Full.withPackages (ps:
      with ps; [
        virtualenv
        tkinter
      ]))
    tcl-8_6
    crystal
    nim
    guile
    vemf
    unstable.gleam
    cscript
    erlang_nox # Required by Gleam
    rebar3 # Required by Gleam
    unstable.nodejs_latest

    # Rust ecosystem
    rustc
    cargo

    # Clojure ecosystem
    clojure
    leiningen
  ];

  # Add system manual pages to the search path on Darwin.
  home.sessionVariables.MANPATH = lib.optionalString pkgs.stdenv.isDarwin "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man:$MANPATH";

  # Add local executables/scripts to path.
  home.sessionVariables.PATH = "$HOME/.local/bin:$PATH";
}