diff --git a/home/primary.nix b/home/primary.nix index b81598d..acd342e 100644 --- a/home/primary.nix +++ b/home/primary.nix @@ -59,4 +59,9 @@ in package = pkgs.qogir-icon-theme; }; }; + home.activation = { + yaziSync = '' + ${pkgs.rsync}/bin/rsync -Lrv "${config.home.homeDirectory}/.config/yazi/" "${xlib.dirs.user-storage}/yazi/" + ''; + }; } diff --git a/home/server.nix b/home/server.nix index 5086489..05d5c4e 100644 --- a/home/server.nix +++ b/home/server.nix @@ -38,4 +38,9 @@ in videos = null; }; }; + home.activation = { + yaziSync = '' + ${pkgs.rsync}/bin/rsync -Lrv "${config.home.homeDirectory}/.config/yazi/" "${xlib.dirs.storage}/yazi/" + ''; + }; } diff --git a/home/wsl.nix b/home/wsl.nix index 5b21b32..4d0f686 100644 --- a/home/wsl.nix +++ b/home/wsl.nix @@ -41,4 +41,9 @@ in videos = null; }; }; + home.activation = { + yaziSync = '' + ${pkgs.rsync}/bin/rsync -Lrv "${config.home.homeDirectory}/.config/yazi/" "${xlib.dirs.wsl-storage}/yazi/" + ''; + }; }