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/desktop.nix | 7 ++++++- users/tdback/modules/shell/default.nix | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) 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"; }; }; }; -- cgit v1.2.3