From 1a3a26fbb9bfe8c776f761f09d53fcc7e69c0018 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 4 Nov 2024 11:16:46 -0600 Subject: [PATCH] Add remote deploy alias --- home/modules/baseline/xonsh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/modules/baseline/xonsh.nix b/home/modules/baseline/xonsh.nix index 89e76b5..ff4b58a 100644 --- a/home/modules/baseline/xonsh.nix +++ b/home/modules/baseline/xonsh.nix @@ -56,6 +56,7 @@ stable = "nix flake lock --update-input nixpkgs --update-input hm --update-input nixvimstable"; unstable = "nix flake lock --update-input nixunstable --update-input hmunstable --update-input nixvimunstable --update-input nurpkgs --update-input vsext --update-input wsl"; updateScript = "nix-shell maintainers/scripts/update.nix --argstr package"; + deploy = "nixos-rebuild switch --use-remote-sudo --use-substitutes --target-host"; # General gh-personal = "$GH_CONFIG_DIR=\"${config.home.homeDirectory}/.config/gh/personal\" gh";