From c260b898ec2673fa10e195a9aeb937a4df0464f2 Mon Sep 17 00:00:00 2001 From: tdback Date: Sun, 26 Jan 2025 11:35:29 -0500 Subject: users/tdback: added deploy-rs and deploy-flake alias --- users/tdback/modules/shell/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'users/tdback/modules') diff --git a/users/tdback/modules/shell/default.nix b/users/tdback/modules/shell/default.nix index bb77e88..a056c8a 100644 --- a/users/tdback/modules/shell/default.nix +++ b/users/tdback/modules/shell/default.nix @@ -55,6 +55,7 @@ grep = "grep --color=auto"; diff = "diff --color=auto"; mkdir = "mkdir -p"; + deploy-flake = "f() { deploy .#$1 -s --remote-build --auto-rollback false && rsync -ax --delete ./ $1:/etc/nixos/; }; f"; }; }; }; -- cgit v1.2.3