diff --git a/flake.nix b/flake.nix index fd6d838..2941802 100644 --- a/flake.nix +++ b/flake.nix @@ -24,8 +24,14 @@ devShells.x86_64-linux.default = let pkgs = nixpkgs.legacyPackages.x86_64-linux; + deploy = pkgs.writeShellScriptBin "nhs" '' + nh os switch --hostname extremist-software --target-host root@extremist-software --impure path:. "$@" + ''; in pkgs.mkShell { - packages = [ pkgs.nh ]; + packages = [ + pkgs.nh + deploy + ]; }; }; }