sane-sync-from-iphone: integrate into main scripts/sync
This commit is contained in:
@@ -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 = {
|
||||||
|
@@ -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"
|
||||||
|
@@ -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 \
|
||||||
|
Reference in New Issue
Block a user