diff options
author | tdback <tyler@tdback.net> | 2025-01-26 11:35:29 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-01-26 11:35:29 -0500 |
commit | c260b898ec2673fa10e195a9aeb937a4df0464f2 (patch) | |
tree | 9fc69f7a25f826337f3373b19dd778a0e65cd807 | |
parent | b03f4af166eb1435d9614c2c2ae42dd1048df142 (diff) |
users/tdback: added deploy-rs and deploy-flake alias
-rw-r--r-- | users/tdback/desktop.nix | 7 | ||||
-rw-r--r-- | users/tdback/modules/shell/default.nix | 1 |
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"; }; }; }; |