1
0
Fork 0

Work-related updates

This commit is contained in:
Daniel Kempkens 2022-05-31 15:46:57 +02:00
parent 3636d5aad0
commit 8fa207a8dd
3 changed files with 14 additions and 0 deletions

View file

@ -40,6 +40,11 @@ project_node() {
PATH_add node_modules/.bin
}
project_python() {
export POETRY_HOME=$(direnv_layout_dir)/poetry/data
export POETRY_CACHE_DIR=$(direnv_layout_dir)/poetry/cache
}
project_ruby() {
export GEM_HOME=$(direnv_layout_dir)/gem
export BUNDLE_USER_HOME=$(direnv_layout_dir)/bundle

View file

@ -91,6 +91,8 @@
mysqld-direnv-init = "mysql_install_db --user $USER --datadir=$PWD/.direnv/mysql/data --auth-root-authentication-method=normal";
mysqld-direnv = "mysqld --datadir=$PWD/.direnv/mysql/data --bind-address=127.0.0.1 --socket=$PWD/.direnv/mysql/mysqld.sock --gdb";
postgres-direnv-init = "initdb --username $USER --pgdata $PWD/.direnv/postgres/data --auth trust";
postgres-direnv = "postgres -D $PWD/.direnv/postgres/data";
redis-direnv = "redis-server --dir $PWD/.direnv/redis --bind 127.0.0.1";
};

View file

@ -39,6 +39,13 @@ in
identitiesOnly = true;
};
"msc.nedeco.local" = {
port = 22;
user = "root";
identityFile = "~/.ssh/nedeco.pub";
identitiesOnly = true;
};
# Private
"github.com" = {