summaryrefslogtreecommitdiff
path: root/shared/home-manager/development-minimal
diff options
context:
space:
mode:
Diffstat (limited to 'shared/home-manager/development-minimal')
-rw-r--r--shared/home-manager/development-minimal/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/shared/home-manager/development-minimal/default.nix b/shared/home-manager/development-minimal/default.nix
new file mode 100644
index 0000000..30ef972
--- /dev/null
+++ b/shared/home-manager/development-minimal/default.nix
@@ -0,0 +1,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";
+}