summaryrefslogtreecommitdiff
path: root/home/dev-utils/default.nix
blob: 833c9f0650af0b34d1087653962328b91738c954 (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
# 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
      deno
      (python311Full.withPackages (ps:
        with ps; [
          virtualenv
          tkinter
        ]))
      tcl-8_6
      crystal
      nim

      # Clojure ecosystem
      clojure
      leiningen
    ]
    ++ lib.optional pkgs.stdenv.isDarwin trash;

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