From 64b4dc4b3ff21332c674eafc4f13eee17114a6bc Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Tue, 4 Nov 2025 11:49:56 +0100 Subject: [PATCH] minor --- modules/gnome/home.nix | 2 -- modules/zsh.nix | 8 +++++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/gnome/home.nix b/modules/gnome/home.nix index e87d690..99f4fd8 100644 --- a/modules/gnome/home.nix +++ b/modules/gnome/home.nix @@ -58,8 +58,6 @@ in "firefox.desktop" "obsidian.desktop" "org.keepassxc.KeePassXC.desktop" - "org.gnome.Evince.desktop" - "org.gnome.Loupe.desktop" ]; }; diff --git a/modules/zsh.nix b/modules/zsh.nix index 80fcefd..b56b53c 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -28,6 +28,9 @@ in hms = "home-manager switch --flake ~/.config/nix#$(whoami)@$(hostname)"; 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/"; }; initContent = '' @@ -174,7 +177,10 @@ in # Manage Powerlevel10k configuration home.file.".p10k.zsh".source = ../config/p10k.zsh; - + # Generate projects.json for shell scripts home.file.".config/nix/config/projects.json".text = builtins.toJSON projectsConfig; + + # Ensure Steam screenshots directory exists + home.file."Pictures/Steam/.gitkeep".text = ""; }