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