From 38bfb70f8c3a64220fbd3219c359397fb4378028 Mon Sep 17 00:00:00 2001 From: Avery Date: Sat, 21 Jun 2025 23:12:19 +0000 Subject: [PATCH] Add shell alias to upload music to server --- hosts/totsugeki/home-manager/zsh.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 hosts/totsugeki/home-manager/zsh.nix diff --git a/hosts/totsugeki/home-manager/zsh.nix b/hosts/totsugeki/home-manager/zsh.nix new file mode 100644 index 0000000..8f41e2a --- /dev/null +++ b/hosts/totsugeki/home-manager/zsh.nix @@ -0,0 +1,8 @@ +{ ... }: { + home-manager.programs.zsh = { + shellAliases = { + "upload-music" = + "rsync -a --chown=jellyfin:media --chmod=775 --remove-source-files ~/Música/* avery@10.0.0.1:/home/avery/music"; + }; + }; +}