summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home.nix1
-rw-r--r--setpath.sh18
2 files changed, 0 insertions, 19 deletions
diff --git a/home.nix b/home.nix
index 76f4ede..2caa781 100644
--- a/home.nix
+++ b/home.nix
@@ -121,7 +121,6 @@
tdate = "date +%Y.%m.%d..%H.%M";
ttime = "date +%H.%M";
};
- profileExtra = builtins.readFile (./setpath.sh);
};
emacs = {
diff --git a/setpath.sh b/setpath.sh
deleted file mode 100644
index d47d61c..0000000
--- a/setpath.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env sh
-
-# add some useful stuff to my path (if present)
-for DIR in \
- $HOME/bin \
- $HOME/me/bin \
- $HOME/.local/bin
-do
- if [ -d "$DIR" ]; then
- PATH=$DIR:$PATH
- fi
-done
-
-# source nix.sh if present
-if [ -f ~/.nix-profile/etc/profile.d/nix.sh ]; then
- # shellcheck source=/home/ben/.nix-profile/etc/profile.d/nix.sh
- . ~/.nix-profile/etc/profile.d/nix.sh
-fi