add nix-sync alias

This commit is contained in:
Yan Lin 2026-01-25 16:03:04 +01:00
parent dbfd867753
commit 0442e98502

View file

@ -23,6 +23,7 @@
hms = "home-manager switch --flake ~/.config/nix#$(whoami)@$(hostname)"; hms = "home-manager switch --flake ~/.config/nix#$(whoami)@$(hostname)";
hms-offline = "home-manager switch --flake ~/.config/nix#$(whoami)@$(hostname) --option substitute false"; hms-offline = "home-manager switch --flake ~/.config/nix#$(whoami)@$(hostname) --option substitute false";
fs = "oss && hms"; fs = "oss && hms";
nix-sync = "cd ~/.config/nix/ && git pull && fs";
}; };
initContent = '' initContent = ''