This commit is contained in:
parent
f82502cd9c
commit
be8fb9811b
1 changed files with 1 additions and 4 deletions
|
|
@ -2,14 +2,13 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
perSystem =
|
perSystem =
|
||||||
psArgs@{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
packages.clone = pkgs.writeShellApplication {
|
packages.clone = pkgs.writeShellApplication {
|
||||||
name = "clone";
|
name = "clone";
|
||||||
|
|
||||||
runtimeInputs = with pkgs; [
|
runtimeInputs = with pkgs; [
|
||||||
git
|
git
|
||||||
psArgs.config.packages.start-tmux
|
|
||||||
];
|
];
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
|
|
@ -34,8 +33,6 @@
|
||||||
mkdir -pv "$repo_path"
|
mkdir -pv "$repo_path"
|
||||||
|
|
||||||
git clone "$repo_url" "$repo_path"
|
git clone "$repo_url" "$repo_path"
|
||||||
|
|
||||||
start-tmux "$repo_path"
|
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue