aboutsummaryrefslogtreecommitdiff
path: root/users/tdback/modules/shell
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-01-26 11:35:29 -0500
committertdback <tyler@tdback.net>2025-01-26 11:35:29 -0500
commitc260b898ec2673fa10e195a9aeb937a4df0464f2 (patch)
tree9fc69f7a25f826337f3373b19dd778a0e65cd807 /users/tdback/modules/shell
parentb03f4af166eb1435d9614c2c2ae42dd1048df142 (diff)
users/tdback: added deploy-rs and deploy-flake alias
Diffstat (limited to 'users/tdback/modules/shell')
-rw-r--r--users/tdback/modules/shell/default.nix1
1 files changed, 1 insertions, 0 deletions
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";
};
};
};