build(nix/flake): adding the docker / docker-compose rules
This commit is contained in:
parent
5b01a859b3
commit
6bb054c962
1 changed files with 3 additions and 1 deletions
|
|
@ -17,7 +17,7 @@
|
||||||
tmux new-session -d -s $SESSION -c "$DIR" -n dev
|
tmux new-session -d -s $SESSION -c "$DIR" -n dev
|
||||||
tmux send-keys -t $SESSION:0 'vim' C-m
|
tmux send-keys -t $SESSION:0 'vim' C-m
|
||||||
tmux split-window -h -p 30 -t $SESSION:0 -c "$DIR"
|
tmux split-window -h -p 30 -t $SESSION:0 -c "$DIR"
|
||||||
tmux send-keys -t $SESSION:0.1 'exec zsh' C-m
|
tmux send-keys -t $SESSION:0.1 'docker-compose up -d && docker exec -it ft_ping_dev bash' C-m
|
||||||
tmux new-window -t $SESSION:1 -n git -c "$DIR"
|
tmux new-window -t $SESSION:1 -n git -c "$DIR"
|
||||||
tmux send-keys -t $SESSION:1 'lazygit' C-m
|
tmux send-keys -t $SESSION:1 'lazygit' C-m
|
||||||
fi
|
fi
|
||||||
|
|
@ -34,6 +34,8 @@
|
||||||
clang-tools
|
clang-tools
|
||||||
fastmod
|
fastmod
|
||||||
tree
|
tree
|
||||||
|
docker
|
||||||
|
docker-compose
|
||||||
] ++ (if stdenv.isLinux then [ pkgs.valgrind ] else [ ]);
|
] ++ (if stdenv.isLinux then [ pkgs.valgrind ] else [ ]);
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue