sane-sync-from-iphone: integrate into main scripts/sync

This commit is contained in:
2024-10-10 03:48:25 +00:00
parent 0023983799
commit 3e4d3c9c46
3 changed files with 2 additions and 9 deletions

View File

@@ -36,7 +36,6 @@
sane.programs.sane-private-unlock-remote.config.hosts = [ "servo" ]; sane.programs.sane-private-unlock-remote.config.hosts = [ "servo" ];
sane.programs.sway.enableFor.user.colin = true; sane.programs.sway.enableFor.user.colin = true;
sane.programs.iphoneUtils.enableFor.user.colin = true;
sane.programs.steam.enableFor.user.colin = true; sane.programs.steam.enableFor.user.colin = true;
sane.programs.nwg-panel.config = { sane.programs.nwg-panel.config = {

View File

@@ -216,13 +216,6 @@ in
"w3m" # web browser "w3m" # web browser
]; ];
iphoneUtils = declPackageSet [
# "ifuse"
# "ipfs"
# "libimobiledevice"
"sane-scripts.sync-from-iphone"
];
devPkgs = declPackageSet [ devPkgs = declPackageSet [
"cargo" "cargo"
"clang" "clang"

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell #!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash -p rsync -p sane-scripts.sync-music #!nix-shell -i bash -p bash -p rsync -p sane-scripts.sync-from-iphone -p sane-scripts.sync-music
usage() { usage() {
echo "sync [flags ...] [<host> [<host> ...]] [passthrough flags ...]" echo "sync [flags ...] [<host> [<host> ...]] [passthrough flags ...]"
@@ -48,6 +48,7 @@ syncHost() {
(desko) (desko)
ifExists /mnt/servo/media/Music/Various.Artists \ ifExists /mnt/servo/media/Music/Various.Artists \
sane-sync-music --compat /mnt/servo/media/Music "$deskoHome/Music" "${syncFlags[@]}" sane-sync-music --compat /mnt/servo/media/Music "$deskoHome/Music" "${syncFlags[@]}"
sane-sync-from-iphone
;; ;;
(lappy) (lappy)
ifExists /mnt/servo/media/Music/Various.Artists \ ifExists /mnt/servo/media/Music/Various.Artists \