summaryrefslogtreecommitdiff
path: root/shared/home-manager/development-minimal/default.nix
blob: 30ef972d2e5f3cf4a769cdd449f858f48db63a2e (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
# This module pulls in other HM modules which together form a minimal
# development enviroment. It does so while taking care not to balloon the
# closure size too much.
{
  pkgs,
  lib,
  ...
}: {
  imports = [
    ../zsh
    ../shell-utils

    ../git
    ../neovim
    ../networking-utils
  ];

  home.packages = with pkgs; [
    rlwrap
    devenv
  ];

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