From 91669158472b892299524842172a3e0702b334ac Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Tue, 4 Nov 2025 23:52:48 +0100 Subject: [PATCH] expand deck game recording sync --- modules/zsh.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/zsh.nix b/modules/zsh.nix index b56b53c..f4ddb93 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -29,8 +29,8 @@ in hms-offline = "home-manager switch --flake ~/.config/nix#$(whoami)@$(hostname) --option substitute false"; fs = "oss && hms"; - # Steam Deck screenshot sync - deck-ss = "rsync -avh --progress 'deck:.local/share/Steam/userdata/*/760/remote/*/screenshots/' ~/Pictures/Steam/"; + # Steam Deck screenshot and game recording sync + deck-ss = "rsync -avh --progress 'deck:.local/share/Steam/userdata/*/760/remote/*/screenshots/' ~/Pictures/Steam/ && rsync -avh --progress 'deck:.local/share/Steam/userdata/*/gamerecordings/' ~/Pictures/Steam/recordings/"; }; initContent = '' @@ -181,6 +181,7 @@ in # Generate projects.json for shell scripts home.file.".config/nix/config/projects.json".text = builtins.toJSON projectsConfig; - # Ensure Steam screenshots directory exists + # Ensure Steam screenshots and recordings directories exist home.file."Pictures/Steam/.gitkeep".text = ""; + home.file."Pictures/Steam/recordings/.gitkeep".text = ""; }