extract SSH host config to a secrets repo
This commit is contained in:
parent
17b7854c03
commit
7e8695c0bd
4 changed files with 17 additions and 1 deletions
|
@ -8,7 +8,7 @@ HOMECONFIGPATH="${HOME}/.config/nixpkgs"
|
|||
NIXOSCONFIGPATH="/etc/nixos"
|
||||
|
||||
mkdir -p "${HOMECONFIGPATH}"
|
||||
for F in `find ./home -mindepth 1 -maxdepth 1`; do
|
||||
for F in `find ./home -mindepth 1 -maxdepth 2`; do
|
||||
ABS_F=`readlink -f "${F}"`
|
||||
ln -s "$ABS_F" "${HOMECONFIGPATH}/`basename ${F}`"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue