From 0442e9850210768b709547d9c20621e351b22c0b Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Sun, 25 Jan 2026 16:03:04 +0100 Subject: [PATCH] add nix-sync alias --- modules/zsh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/zsh.nix b/modules/zsh.nix index d81220b..ef7bb36 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -23,6 +23,7 @@ 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"; + nix-sync = "cd ~/.config/nix/ && git pull && fs"; }; initContent = ''