Tweak rsync-local-config to reduce nix invocations
This commit is contained in:
parent
be7cc86ee2
commit
370940b696
|
@ -24,10 +24,10 @@ done
|
|||
|
||||
# Fonts
|
||||
IOSEVKA_FLAKE_URL="git+https://git.xenia.me.uk/pixelifytica/iosevka.git?ref=main"
|
||||
IOSEVKA_CUSTOM_NERDFONT="$IOSEVKA_FLAKE_URL#packages.x86_64-linux.iosevka-custom-nerdfont"
|
||||
IOSEVKA_CUSTOM_AILE="$IOSEVKA_FLAKE_URL#packages.x86_64-linux.iosevka-custom-aile"
|
||||
IOSEVKA_CUSTOM_NERDFONT=$(nix path-info "$IOSEVKA_FLAKE_URL#packages.x86_64-linux.iosevka-custom-nerdfont")
|
||||
IOSEVKA_CUSTOM_AILE=$(nix path-info "$IOSEVKA_FLAKE_URL#packages.x86_64-linux.iosevka-custom-aile")
|
||||
echo "--- Fonts ---"
|
||||
for HOST in "${HOSTS[@]}"; do
|
||||
rsync -avzL --delete --exclude=".git*" --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r "$(nix path-info "$IOSEVKA_CUSTOM_NERDFONT")/share/fonts/truetype/" "$HOST:.fonts/IosevkaCustomNerdFont"
|
||||
rsync -avzL --delete --exclude=".git*" --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r "$(nix path-info "$IOSEVKA_CUSTOM_AILE")/share/fonts/truetype/" "$HOST:.fonts/IosevkaCustomAile"
|
||||
rsync -avzL --delete --exclude=".git*" --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r "$IOSEVKA_CUSTOM_NERDFONT/share/fonts/truetype/" "$HOST:.fonts/IosevkaCustomNerdFont"
|
||||
rsync -avzL --delete --exclude=".git*" --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r "$IOSEVKA_CUSTOM_AILE/share/fonts/truetype/" "$HOST:.fonts/IosevkaCustomAile"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue