feat: use nhs as a script for tailscale deployment

This commit is contained in:
Jet Pham 2026-02-28 16:05:06 -08:00
parent 37a7b07980
commit b636b4ae97
No known key found for this signature in database

View file

@ -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
];
};
};
}