nvim: clone the repository in the service script
This commit is contained in:
parent
058a15cb24
commit
0361e056f5
|
@ -29,12 +29,13 @@ in
|
||||||
exit 0;
|
exit 0;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p ${nvimCloneDir}
|
|
||||||
|
|
||||||
until ${ping} -c 1 ${host}; do
|
until ${ping} -c 1 ${host}; do
|
||||||
${sleep} 1;
|
${sleep} 1;
|
||||||
done
|
done
|
||||||
|
|
||||||
|
mkdir -p ${nvimCloneDir}
|
||||||
|
|
||||||
${git} clone ${repository} ${nvimCloneDir}
|
${git} clone ${repository} ${nvimCloneDir}
|
||||||
'';
|
'';
|
||||||
path = "${script}/bin/clone-nvim.sh";
|
path = "${script}/bin/clone-nvim.sh";
|
||||||
|
@ -51,7 +52,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.configFile.nvim = {
|
xdg.configFile.nvim = {
|
||||||
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nvim";
|
source = config.lib.file.mkOutOfStoreSymlink nvimCloneDir;
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue