aboutsummaryrefslogtreecommitdiff
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
parentb03f4af166eb1435d9614c2c2ae42dd1048df142 (diff)
users/tdback: added deploy-rs and deploy-flake alias
-rw-r--r--users/tdback/desktop.nix7
-rw-r--r--users/tdback/modules/shell/default.nix1
2 files changed, 7 insertions, 1 deletions
diff --git a/users/tdback/desktop.nix b/users/tdback/desktop.nix
index 3ec058f..1f393d4 100644
--- a/users/tdback/desktop.nix
+++ b/users/tdback/desktop.nix
@@ -1,4 +1,8 @@
-{ config, pkgs, ... }:
+{
+ config,
+ pkgs,
+ ...
+}:
let
mkDirs =
defined:
@@ -42,6 +46,7 @@ in
home.packages = with pkgs.unstable; [
clang
+ deploy-rs
feh
gimp
gitu
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";
};
};
};