mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 19:15:37 +00:00
introduced and commented out pg and c stuff
mostly just dev experiments for later
This commit is contained in:
parent
7b7f426624
commit
ef6964f3b4
@ -4,6 +4,7 @@
|
|||||||
(pkgs.vimPlugins.nvim-treesitter.withPlugins (_plugins:
|
(pkgs.vimPlugins.nvim-treesitter.withPlugins (_plugins:
|
||||||
with pkgs.tree-sitter-grammars; [
|
with pkgs.tree-sitter-grammars; [
|
||||||
tree-sitter-bash
|
tree-sitter-bash
|
||||||
|
# tree-sitter-c
|
||||||
tree-sitter-fish
|
tree-sitter-fish
|
||||||
tree-sitter-hcl
|
tree-sitter-hcl
|
||||||
tree-sitter-ini
|
tree-sitter-ini
|
||||||
|
@ -7,6 +7,22 @@
|
|||||||
config = { whitelist = { prefix = [ config.dotfilesPath ]; }; };
|
config = { whitelist = { prefix = [ config.dotfilesPath ]; }; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# programs.direnv.direnvrcExtra = ''
|
||||||
|
# layout_postgres() {
|
||||||
|
# export PGDATA="$(direnv_layout_dir)/postgres"
|
||||||
|
# export PGHOST="$PGDATA"
|
||||||
|
#
|
||||||
|
# if [[ ! -d "PGDATA" ]]; then
|
||||||
|
# initdb
|
||||||
|
# cat >> "$PGDATA/postgres.conf" <<- EOF
|
||||||
|
# listen_addresses = '''
|
||||||
|
# unix_socket_directories = '$PGHOST'
|
||||||
|
# EOF
|
||||||
|
# echo "CREATE DATABASE $USER;" | postgres --single -E postgres
|
||||||
|
# fi
|
||||||
|
# }
|
||||||
|
# '';
|
||||||
|
|
||||||
# Prevent garbage collection
|
# Prevent garbage collection
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
keep-outputs = true
|
keep-outputs = true
|
||||||
|
Loading…
Reference in New Issue
Block a user